blabla, html question. (yes, whenever an exam is getting nearer i just have to play around with my layout). with the generator layout, is there any universal way to make the content table, you know with your entries and stuff, exactly as wide as the header picture, always, no matter which browser or screen resolution or whatever it is viewed in?
(
Read more... )
Comments 10
body {
margin-top: 200px !important;
background-image: url(http://pics.livejournal.com/isilwen/pic/000kp9dw) !important;
background-repeat: no-repeat !important;
background-attachment: scroll !important;
background-position: 50% 30px !important;
}
/* change these numbers, must add up to 100%*/
table {
width: 700px;
margin-left: *;
margin-right: *;
}
/* the width value used here should be the same as the width value you've used above, minus the amount you want the entries indented (in this example, 5%), the margin-left and margin-right values MUST be the SAME as above.*/
div table {
width: 700px;
margin-left: *;
margin-right: *;
}
/* do NOT change these numbers */
table table {
width: 100%;
margin:0;
}
table table table {
width: auto;
}
This is the override text of ringcon, and I chose it because it's a similar layout structure as your journal. The tricky parts are those that I ( ... )
Reply
Reply
For example, I think at the moment your margin-top is not existant, because the tables start up there, not under your picture ;)
Reply
In IE, your layout looks like - I think - you want it to look. But in firefox, it looks totally different. O_o
Reply
Leave a comment