Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Does different browser mean different positioning? :(
Old 08-28-2006, 11:59 AM Does different browser mean different positioning? :(
menerweb's Avatar
Extreme Talker

Posts: 150
Trades: 0
About-Forex.biz site's css and xhtml codes are validating.

But there is positioning differences among browsers: Internet Explorer, Firefox and Opera.

I am adding screenshots of the site for browsers.

And CSS code is below:

Code:
body {
 background: #ccc;
 font-family: arial, serif;
 margin: 15px 0 15px 0;
 text-align: center;
 color: #000;
 font-size: 85%;
}
legend {
 color: #fff;
 background: #093;
 font-size: 150%;
}
h1,h2,h3,h4,h5,h6 {
 font-variant: small-caps;
 font-family: georgia, "trebuchet ms", verdana, arial, serif;
}
h1 {
 border-bottom: 1px dotted #fff;
}
ul {
 list-style-type: square;
}

p, li, dl {
 line-height: 160%;
}
dt {
 font-variant: small-caps;
}
dd {
 border-left: 1px dotted #fff;
 padding-left: 5px
}
img.left-image {
 float:left;
 padding-right: 10px;
}
img.right-image {
 float:right;
 padding-left: 10px;
}
a {
 background: #fff;
 color: #093;
 text-decoration: none;
}
a:hover {
 text-decoration: underline;
}
#container {
 background: #fff;
 color: #000;
 margin: 0 auto;
 position: relative;
 text-align: left;
 width: 800px;
}
#header {
 background: #093 url(img/forex.jpg) no-repeat;
 height: 175px;
 text-align: center;
 width: 800px;
 color: #fff;
}
#header h1 {
 font-size: 350%;
 float: left;
 padding: 5px 0 0 10px;
 font-variant: normal;
 border: 0;
}
#header .second {
 font-size: 170%;
 font-style: italic;
 float: right;
 text-align: right;
 padding: 5px 10px 0 0;
 color: #fff;
 background: transparent;
}
#header a {
 background: transparent;
 color: #fff;
 font-family: "trebuchet ms", helvetica, verdana, arial, serif;
 text-decoration:none;
}
#header a:hover {
 background: transparent;
 color: #ff0;
}
.glossary {
 list-style: none;
}
.glossary li {
 display: inline;
 padding-left: 5px
}

#sidebar {
 float: left;
 width: 100px;
}
#sidebar ul {
 list-style: none;
 margin: 0;
}
#sidebar ul li {
 display: block;
 font-family: georgia, "trebuchet ms", verdana, arial, serif;
}
#sidebar a {
 background: #fff;
 border-bottom: 1px dotted #999;
 color: #999;
 display: block;
 font-weight: bold;
 padding: 2px 8px;
 text-decoration: none;
 width: 200px;
}
#sidebar a.active {
 background: #093;
 border-bottom: 1px solid #093;
 color: #fff;
}
#sidebar a.active:hover {
 background: #093;
 border-bottom: 1px solid #093;
 color: #fff;
}

#sidebar a:hover {
 background: #eee;
 border-bottom: 1px solid #eee;
 color: #093;
}
#content {
 float: right;
 padding: 18px;
 margin: 0;
 width: 548px;
 background: #093;
 color: #fff;
}
#content a {
 color: #fff;
 background: #093;
 border-bottom: 1px solid #fff;
 text-decoration: none;
}
#content a:hover {
 color: #ff0;
 background: #093;
 border-bottom: 1px solid #ff0;
 text-decoration: none;
}
#footer {
 background: #fff;
 clear: right;
 color: #000;
 margin: 0 auto;
 padding-bottom: 5px;
 padding-top: 0;
 text-align: right;
}
#footer p {
 padding: 10px;
 font-family: georgia, "trebuchet ms", arial, sans-serif;
}
#footer a {
 border-bottom: 1px dotted #093;
}
#footer a:hover {
 text-decoration: none; 
}
I want the site to be positioned like you see on Internet Explorer for all other browsers too.

Thanks to everyone who helps from now.
__________________
Portfolio:
Please login or register to view this content. Registration is FREE
| About Forex:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
menerweb is offline
Reply With Quote
View Public Profile Visit menerweb's homepage!
 
 
Register now for full access!
Old 08-28-2006, 12:01 PM Re: Does different browser mean different positioning? :(
menerweb's Avatar
Extreme Talker

Posts: 150
Trades: 0
Forgot to add images sorry.
Attached Images
File Type: png explorer.PNG (170.4 KB, 5 views)
File Type: jpg ff_and_opera.JPG (42.0 KB, 5 views)
__________________
Portfolio:
Please login or register to view this content. Registration is FREE
| About Forex:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by menerweb; 08-28-2006 at 12:03 PM..
menerweb is offline
Reply With Quote
View Public Profile Visit menerweb's homepage!
 
Old 08-28-2006, 03:31 PM Re: Does different browser mean different positioning? :(
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Code:
 margin:  0;
 padding:  0;
Put that for both your UL and LI tags in your CSS and you should be fine.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 08-28-2006, 05:02 PM Re: Does different browser mean different positioning? :(
menerweb's Avatar
Extreme Talker

Posts: 150
Trades: 0
Quote:
Originally Posted by ADAM Web Design View Post
Code:
 margin:  0;
 padding:  0;
Put that for both your UL and LI tags in your CSS and you should be fine.
It worked, thank you so much.
__________________
Portfolio:
Please login or register to view this content. Registration is FREE
| About Forex:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
menerweb is offline
Reply With Quote
View Public Profile Visit menerweb's homepage!
 
Reply     « Reply to Does different browser mean different positioning? :(
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.33183 seconds with 13 queries