Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tables to CSS

Status
Not open for further replies.

DaRNCaT

Technical User
Dec 18, 2002
566
NZ
Hey, I normally code using tables, and I have built a layout for a programmer, who is going to add dynamic PHP content into it. The problem is he has asked that I give him the layout using CSS positioning, and no tables. One I'm not sure where to start- not having done this before, two, the site has to be cross browser compatable, and three I have javascript rollovers in the menu section-and I don't know if CSS positioning will allow this.
Any links to good easy to understand tutorials or any help would be greatly appreciated.


Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
my webpage... uses css absolute positioning. And yes, if the rollovers are done with the ol' document.getElementById('divID').innerHTML, you can position the div and all will be well...

div.classname {position:absolute; top:#px; left:#px}

that is # of pixels from the top, and # of pixels from the left. Hope that helps!

Later,
Greelmo
 
helps, but.. I've never used css to position stuff, only to formatt text- any pointers where to start?

Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
Hi, try going to
It has just what you need: templates for laying out a page using CSS. It gives an example page with the layout, plus the code to make it happen. Copy -n- paste!

For tutorials go to
Search through the site for tons of new-school CSS tutorials.

-Petey

"News and views of some obscure guy"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top