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
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. 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.