![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have an image and I would like to draw a border around it, I tried: p style="border:1px border-style:solid; border-color:#EEEEEE; background-color:#FFFFFF;"><img src="./images/header.jpg" width="800" height="130" border="0" ><br but I don't get a border, why not? Where am I going wrong? Thank you! |
#3
| |||
| |||
|
|
p><img src="./images/header.jpg" width="800" height="130" border="0" style="border: 1px solid #EEEEEE;" /><br></p Watch the shortened css-markup (and the closure of the p-tag) |
#4
| |||
| |||
|
|
I have an image and I would like to draw a border around it, |
|
I tried: p style="border:1px border-style:solid; border-color:#EEEEEE; background-color:#FFFFFF;"><img src="./images/header.jpg" width="800" height="130" border="0" ><br but I don't get a border, why not? Where am I going wrong? |
#5
| |||
| |||
|
|
'sNiek wrote: p><img src="./images/header.jpg" width="800" height="130" border="0" style="border: 1px solid #EEEEEE;" /><br></p Watch the shortened css-markup (and the closure of the p-tag) Watch the border="0" in there - sure you need it? ;-) |
#6
| |||
| |||
|
|
Els wrote: 'sNiek wrote: p><img src="./images/header.jpg" width="800" height="130" border="0" style="border: 1px solid #EEEEEE;" /><br></p Watch the shortened css-markup (and the closure of the p-tag) Watch the border="0" in there - sure you need it? ;-) Eh.. and the <br> not having any purpose right before </p> (I think the original example was taken from a piece of code with more lines after the image within the same paragraph), and the 'XHTMLisation' of the image element, while the rest is/was in plain HTML. Oh, and the missing alt attribute. Hmm.. yup, that's about it I think :-) |

#7
| |||
| |||
|
|
img src="./images/header.jpg" width="800" height="130" border="1" style="border: 1px solid border-color:#EEEEEE;" but the border stays black, why? I would like to have it light grey |
#8
| |||
| |||
|
|
roN skrev: img src="./images/header.jpg" width="800" height="130" border="1" style="border: 1px solid border-color:#EEEEEE;" but the border stays black, why? I would like to have it light grey img src="./images/header.jpg" width="800" height="130" style="border: 1px solid #EEEEEE" |
![]() |
| Thread Tools | |
| Display Modes | |
| |