dreamweaver question
- Started
- Last post
- 12 Responses
- ********0
CSS ya hoor!
#myDiv img {
padding: 0px;
margin:0px;
left:0px;
top:0px;
}
- noodlefish0
I chucked it in their and well it stayed the same, im thinking it could be something to do with the image having padding? (technical terms bah) its got that white thing around the image when you select it and well thats whats stopping it touch the border
- ********0
ye needen shown how tae dee it??
- Terminal270
can you post the html page somewhere, as i can't seem to view the source of the jpeg to identify the problem...
hee hee
seriously, if you can post it i will try to help
- ********0
noodlefish click oan
http://macromedia.com/go/andrewb…
an' ah'll show ye how it's done, ken?
Up tae ye like, but if yer needen help hurry up aboot it ah'm a busy hoor, ken?
- noodlefish0
http://www.rapidplant.com/html.r… heres a link to the html ^.^
- noodlefish0
thanks MX_OnD you rock \m/
- Terminal270
hello noodlefish
Just looked at the rtf file, and it seems that you have an tag around the image. Also there is a tag before the image.
Try removing these as i don't think that they are neededLet me know how you get on
- ********0
here's thae answer fer ivvrybudy:
tae get an image toap left dee this:
CSS:
#myDiv {
position:absolute;
top:0px;
left:0px;
}#myDiv img {
padding:0px;
margin:0px;
}HTML:
< div id=" myDiv " >
< img src="path" />
< / div >
- blindpilot0
lokks to me like the image has a white border around it - edit the image, trim off the white
to check, just change the background colour of the page
- noodlefish0
and the winner is dun dun dun.. blindpilot, it was the image croppery than needed doing and now it works yay ^.^
- Dancer0
Still think you should use CSS.
Not that I know it that well :p
