shannonlasell Posted October 8, 2005 Share Posted October 8, 2005 Well.....I have a problem.i want to make <div> tag go left and stay left, inside a <td>. this works fine in Firefox, but not in IE (damn those bastards).i have a float attribute on the <div> on the right and I have a position:relative;left:0; on the left <div>.i know i can use <td align="left">. However the align attribute is deprecated, as well as is the <center> ( which was a fav. for me). I need a freekin guru. Can i get crafty with some javascript maybe.( i know, wrong section).i need help. please. Link to comment Share on other sites More sharing options...
actionsketch Posted October 8, 2005 Share Posted October 8, 2005 you should be able to just set your div to float:left. Link to comment Share on other sites More sharing options...
Jonas Posted October 9, 2005 Share Posted October 9, 2005 Not sure, butdiv {margin-left: 0;}could perhaps work?Ordiv {position: relative;left: -??px;}Good luck... Link to comment Share on other sites More sharing options...
punkstar Posted October 9, 2005 Share Posted October 9, 2005 Well.....I have a problem.i want to make <div> tag go left and stay left, inside a <td>. this works fine in Firefox, but not in IE (damn those bastards).i have a float attribute on the <div> on the right and I have a position:relative;left:0; on the left <div>.i know i can use <td align="left">. However the align attribute is deprecated, as well as is the <center> ( which was a fav. for me). I need a freekin guru. Can i get crafty with some javascript maybe.( i know, wrong section).i need help. please.<{POST_SNAPBACK}> i have always hated divs ..this is a prime example why. Link to comment Share on other sites More sharing options...
shannonlasell Posted October 9, 2005 Author Share Posted October 9, 2005 I am trying to make a center part of my web page stretch with the content (background-image:repeat;), and so I was using table to keep all parts together and <div> tags inside to do the stretching. I think i will remove the tables and use <div>'s only now. Getting real tired of working around everything (damn you Bill Gates). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now