border(s) annoying me!

Mp4

Mp4

Soldato
Joined
21 Apr 2006
Posts
8,460
Location
Eastbourne
Hi all,

Basically ive designed a site within Dreamweaver, with borders 10 (which the customer wanted) and when ive uploaded it .. Tbh it looks pants!

I want it to look like ...

borderwhat.jpg


And not like.. within firefox / IE etc

bordersite.jpg



addition it seems that it also hates the border color #0099FF


Anyone?
 
Last edited:
as the site is in tables shall i change -


<body>
<div align="center">
<table width="900" border="10" align="center" cellpadding="0" cellspacing="0" bordercolor="#0099FF" bgcolor="#FFFFCC">
<tr>



change ??


border="10" to "0"

and bordercolor="#0099FF" to white? and add the code above?
 
Code:
<table style="border: 10px solid #0099FF; background-color: #FFFFCC;" width="900" align="center">
<tr><td>hello</td></tr>
</table>

looks like this

untitledys0.png
 
remove the inline style i posted so it looks like this again

Code:
<table align="center">
<tr><td>hello</td></tr>
</table>

and just add this to the style information at the top of the page....

Code:
table {
        border: 10px solid #0099FF; 
        background-color: #FFFFCC; 
        width: 900px;
}
 
Thanks,

I've noticed that as default the way it was , Firefox still does the basic 3D borders

<table width="900" border="10" align="center" cellpadding="0" cellspacing="0" bordercolor="#0099FF" bgcolor="#FFFFCC">

With the new code , the inside border is way too thick and makes the site look poor , atm it looks fine in IE but not FF :(
 
Mp4 said:
the inside border is way too thick and makes the site look poor

i'm not suprised. 10px is huge, but you asked for it. i didn't want to question what you wanted... :p change it to 1 or 2. :D
 
anyway to use the default code to make the borders look normal like in ie? As Firefox looks pants
 
Mp4 said:
anyway to use the default code to make the borders look normal like in ie? As Firefox looks pants

don't know what you mean? i 've created a test page using this code....

Code:
<html>
<head>
<style type="text/css">
table {
        border: 2px solid #0099FF; 
        background-color: #FFFFCC; 
        width: 900px;
}
</style>
</head>
<body>
<table>
<tr><td>hello</td>
</table>
</body>
</html>

and it looks identical in ff2 and ie7? :confused:

1885Untitled.png
 
without using the border CSS , and using the default code which DW gives you..

<table width="900" border="10" align="center" cellpadding="0" cellspacing="0" bordercolor="#0099FF" bgcolor="#FFFFCC">

works fine in IE / but comes up with the 3D border in firefox.

bordersite.jpg
 
Mp4 said:
Hi all,

Basically ive designed a site within Dreamweaver, with borders 10 (which the customer wanted) and when ive uploaded it .. Tbh it looks pants!

I want it to look like ...

borderwhat.jpg


And not like.. within firefox / IE etc

bordersite.jpg



addition it seems that it also hates the border color #0099FF


Anyone?


Thats how i've done the site at the moment , but i've noticed by default in firefox it does the 3D borders , where IE is fine and has a solid border as i wanted it.
 
Mp4 said:
lolol :P meh , too tired , ill come back to this over the weekend :P

Tiredness can kill, please take a break.

(in this case, it has killed my coding in the past, and I'm sure it'll do it again.)
 
:D ^ Thanks for the health warning :D , been up since 4am ... same again 2moz also...sucks
 
Back
Top Bottom