Hi everyone.
Is there a way, using HTML code i can have an image as a background with the other stuff (links, pics, words etc) happening on top?
Thanks
Hi everyone.
Is there a way, using HTML code i can have an image as a background with the other stuff (links, pics, words etc) happening on top?
Thanks
Absolutely. Use the BACKGROUND attribute in your BODY tag, and point it at the image you want to use. Like so:
<BODY BACKGROUND="/graphics/image.jpg">
And you should be all set.
if you mean like having a picture of a dog instead of just a plain colour, then just having the normal webpage, 've done it before, so i know u can…microsoft front page should let you do it…if that doesn’t work, i learnt to code off This site, its been a while since i’ve had to do it, so i can’t remember it exactly…if you still are having trouble tomorrow i’ll see if i can’t find it for you…its bedtime now though
something to keep in mind is that if you set a pic as a background it will be tiled or very stretched.
ok, either quick reply doesn’t allow you to use html…or my memory of html is a lot worse than i thought
cooky173, welcome to the SDMB. You may use bb code in your posts, but not HTML.
I’ll fix your coding. You can see how bb code is formed by clicking “Reply” on your message, or you may use the guided mode available on the standard replay form to automagically form the bb code for you.
Or simply type the URL in and leave the “Automatically parse links in text” box checked and the board will automatically turn it into a link.
Again, welcome and feel free to explore.
Rico
For the SDMB
I thought I’d point out that my standard reference site that I use when I’m not sure on one of the finer points of html is this: http://www.htmlhelp.com/
Is this part of the HTML standard, or is it someone’s extension?
It’s standard - or at least it was when I learnt HTML in about 1995, but according to this page, it is “deprecated”, i.e. it “has been outdated by newer constructs”.
But I can’t see from that page what “newer constructs” should replace it.
I’m guessing those “newer constructs” would be the use of CSS (style sheets) instead of the attributes within tags.
Although it’s depreciated (like a ton of other attributes, FONT and STRONG among them), I’m betting most browsers will continue to display images via the BACKGROUND attribute for some time.
Yeah, like Snickers says, it’s probably the use of CSS.
So, instead of putting the tag:
<BODY BACKGROUND="/graphics/image.jpg">
into your webpage, you just put in the tag:
<BODY>
and have a Cascading Style Sheet (either in the header of the webpage, or preferably as a separate file) that says something like:
body {
background-image: url(/graphics/image.jpg);
}
wow thanks for you help!
My next question is how, using HTML can i have a number of small images that open up in a new window slightly larger.
I have seen it done and it would look great on my dads site im “helping” to create.
thanks for your input, i did a little html a couple of years ago and cant remember much. Just enough to get me in trouble.