Oliazk Posted November 20, 2005 Share Posted November 20, 2005 Does anyone know why table boarders will not display properly in Firefox? If there is a way to fix this or make it so they display properly please let me know.edit:Also how can I center my page. You can see it here... http://www.oliazk.com/ Thanks Link to comment Share on other sites More sharing options...
Jonas Posted November 20, 2005 Share Posted November 20, 2005 In your stylesheet, try puttingtable {margin: auto;}text-align is a css feature wrongly displayed by IE. It's supposed to be for text only. Elements use margins, plain text can't be adressed in css, so you have various format tags for plain text to use in the root element... Link to comment Share on other sites More sharing options...
F-Man Posted November 20, 2005 Share Posted November 20, 2005 The table border style in Firefox is outset by default. If you want it to be solid, you can change it like so: table { border-style: solid;} Link to comment Share on other sites More sharing options...
Oliazk Posted November 20, 2005 Author Share Posted November 20, 2005 Well I am trying to make it so that the border only shows on the sides/bottom/top where ever but it keepes showing up all around for me. I did the two things you guys mentioned they seemed to help I also refered to the CSS2 reference and did some other things but I can't get the border to appear between the cells that I have my links in on the top of my page. Well thanks for the help. Link to comment Share on other sites More sharing options...
F-Man Posted November 21, 2005 Share Posted November 21, 2005 I see the borders appear around the links...So I'm not exactly sure what you want, but I saw border"1" in your source. Maybe this is what makes it not work correctly? Try adding a = in there.Also, your site looks weird in IE... Link to comment Share on other sites More sharing options...
Oliazk Posted November 21, 2005 Author Share Posted November 21, 2005 Well I probably uploaded it after you looked at it so it should look right now. Althought I cant get the border's on the sides of the table cells that the links are located in to show up. I think I might just make some little picutures that I might use as links. My artistic talent is not that great though . I need to figure out a new color scheme for my links if I don't go the picture route.I am trying to just make it look correctly in Firefox so I kinda don't really care how it lookes in IE. It should look better now in IE though. Link to comment Share on other sites More sharing options...
Jonas Posted November 21, 2005 Share Posted November 21, 2005 You want borders around your links in the menu? There are two ways of doing it:1:<html><head><style type="text/css"><!--#menu td {border: ridge #FFA500 thin;}--></style></head><body><table style="text-align: center;" cellpadding="3" cellspacing="0" width="810"><!-- border"1" frame="vsides" --> <tr align="center"> <td colspan="7" width="100%"><img src="images/jtbbanner.jpg" alt="Just The Beginning" /></td> </tr> <tr id="menu"> <td><a href="index.html">Home</a></td> <td><a href="hobbies.html">Hobbies</a></td> <td><a href="aboutme.html">About ME</a></td> <td><a href="specs.html">My Computers</a></td> <td><a href="guest.html">Guest Book</a></td> <td><a href="forum/">Forum</a></td> <td><a href="http://oliazk.netfirms.com/oldhome.html">Old Home Page</a></td> </tr></table></body></html>2:<html><head><style type="text/css"><!--#menu a {display: block;width: ?px;border: ridge #FFA500 thin;}--></style></head><body><table style="text-align: center;" cellpadding="3" cellspacing="0" width="810"><!-- border"1" frame="vsides" --> <tr align="center"> <td colspan="7" width="100%"><img src="images/jtbbanner.jpg" alt="Just The Beginning" /></td> </tr> <tr id="menu"> <td><a href="index.html">Home</a></td> <td><a href="hobbies.html">Hobbies</a></td> <td><a href="aboutme.html">About ME</a></td> <td><a href="specs.html">My Computers</a></td> <td><a href="guest.html">Guest Book</a></td> <td><a href="forum/">Forum</a></td> <td><a href="http://oliazk.netfirms.com/oldhome.html">Old Home Page</a></td> </tr></table></body></html>I think both those ways should work... Link to comment Share on other sites More sharing options...
Oliazk Posted November 21, 2005 Author Share Posted November 21, 2005 Ok I will try that here in alittle bit. I kinda see how it will work to. Although I will probably put it in my css file not in my html file. It still should work the same though.Thanks. Link to comment Share on other sites More sharing options...
Jonas Posted November 22, 2005 Share Posted November 22, 2005 Although I will probably put it in my css file not in my html file.Of course. 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