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