This is a discussion on "div borders not showing (perhaps just firefirefox)" within the Web Page Design section. This forum, and the thread "div borders not showing (perhaps just firefirefox) are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
div borders not showing (perhaps just firefirefox)
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
div borders not showing (perhaps just firefirefox)
Another problem im afraid everyone:
i have been doing a css site and I have made an image as a header, with a navigation bar below it. the html is this:
and the css is this:
The border is as you can see set to 6px thick in a dark green colour, but it will not show. I use mozilla firefox as my browser, so maybe it shows in others, but is there a way to fix this??? Thanks Last edited by karinne; Apr 11th, 2007 at 12:49. Reason: Please use [code]...[/code] tags when displaying code! |
|
|
|
|||
|
Re: div borders not showing (perhaps just firefirefox)
Hi Toby,
you have to add "border-style:solid;" to make the border appear. You can set border-style in every style you want but it has to be different than "none" to be visible. And also... please install the other browsers, at least IE7 and Opera to test the css at least on the most used browsers. |
|
||||
|
Re: div borders not showing (perhaps just firefirefox)
Please use [code]...[/code] tags when displaying code!
Yep ... like Gwayn said, you're missing the border-style property. If all the side have the same style, width and color, you can do this:
Efficient CSS with shorthand properties And yes ... you should have at least IE7 and Opera to test you site in. |
![]() |
| Tags |
| border, browser, css, div, help, problem, width |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Borders not showing | Xyis | Web Page Design | 3 | Jul 17th, 2007 14:02 |
| Help with div borders in FF, please? | Donny Bahama | Web Page Design | 12 | Apr 10th, 2007 20:09 |
| Tables and 1px borders? | Perad | Web Page Design | 3 | Dec 9th, 2006 19:34 |
| background image not showing up in Firefox but showing in other browsers! | eskymo | Web Page Design | 21 | Jan 19th, 2006 23:10 |
| borders | benbacardi | Web Page Design | 2 | Jun 4th, 2004 15:39 |