Jump to content

Need some help with how to..


desjardins2010

Recommended Posts

hey guys/gals

 

I have attached an image i'm trying to mock the outcome of this site - so what i want to happen is based on some DB entries to a title, screenshot and footer have this page spit out these nice boxes with the details on each.... alignment is nice here how it follows the next one spaced out...

 

can anyone tell me how I might do this... would I use php to draw out the table then draw the TR and TD and have the DB insert the title and info in the spaces provided... do you think this site is using css to draw them boxes and if not, if it's a premade image how is he inserting inforamtion ontop of it in perfect alignment... 

 

:(post-102062-0-78504600-1386430863_thumb.png

Link to comment
https://forums.phpfreaks.com/topic/284607-need-some-help-with-how-to/
Share on other sites

How the text is displayed is down to CSS. With CSS you can apply various styles to a html element to transform it.

 

All what you want PHP to do is to output the required HTML markup for creating the boxes with the info from the database.

 

If you right click > view source you should be able to see the HTML mark-up for those boxes and then browse to see what CSS they are applying. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.