Jump to content

define a full layout in css


jdrasq

Recommended Posts

Hello,

Is there a way that I can define a full layout in css so that if linking it to a database, all i need to do is put which record i need to use and the data will automatically be put into set positions, e.g.

[table border=1]

   

        [td width=33%]

            [p align=center]Logo.bmp (defined by css)[/p]

       

        [td width=33%]

            [p align=center]Title (from database)[/p]

        [/td][/tr][/table]

        [td width=33%]

            [p align=center]Logo.bmp(defined by css)[/p]

        [/td]

    [/tr]

   

        [td width=100%" colspan="3]

            [p align=center]Menu (Same on every page)[/p]

       

   

   

        [td width=100%" colspan="3]

            [p align=center]Content (from database)[/p]

       

   

[/table]

 

 

Thank you,

JDRasq

Link to comment
https://forums.phpfreaks.com/topic/61116-define-a-full-layout-in-css/
Share on other sites

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.