View Full Version : Better way to put images into a website than <div> HTML?
LavaEagle
17-08-2008, 11:53 PM
I'm sorry I was unclear I ment into the background.
ZachPL
18-08-2008, 12:27 AM
Dreamweaver :P
Umm, I may be missing stuff, but generally you put images into a website with the <img> tag...
Whitefang
18-08-2008, 06:38 AM
Make them click on your image?
Lol (This is the text they see they can click on) ((link here))
You can use a table and set the image as its background
Personally i would use CSS
<head>
<style type="text/css">
body
{
background-image:
url('2_BB.jpg')
}
</style>
</head>
George
18-08-2008, 01:30 PM
You can use a table and set the image as its background
Personally i would use CSS
<head>
<style type="text/css">
body
{
background-image:
url('2_BB.jpg')
}
</style>
</head>
I aggree, it is what I did for the banner at my site.
<style>
#logo {
background-image: url(web/title.png);
height: 100px;
width: 800px;
border: 1px solid #000000;
margin: auto;
}
</style>
<body>
<div id="logo"></div>
</body>
That way the whole thing is done is CSS and the HTML is just 1 small div.
Actually, Looking over my site, More than half of it is done is CSS.
--Off Topic--(sorry)
George you want to redo
http://server.bbroleplay.co.uk/stats/
LavaEagle
18-08-2008, 04:05 PM
So you guys are saying basically drop HTML go to w3school.com and learn CSS?
George
18-08-2008, 05:45 PM
So you guys are saying basically drop HTML go to w3school.com and learn CSS?
Err Not quite, You cannot use one without the other.
You need to learn both in order to make a good site.
George
18-08-2008, 05:47 PM
--Off Topic--(sorry)
George you want to redo
http://server.bbroleplay.co.uk/stats/
I'd love to re-do it.
Can you send me the exisiting code please?
GeorgioBaker
19-08-2008, 06:05 PM
GeorgeMiller here.
Its done.
Email me on
[email protected] for feedback/things you want to be changed.
Dont PM me on the forums, I have a feeling this account is going to be banned lol.
Swift RP
19-08-2008, 06:23 PM
:(
LavaEagle
20-08-2008, 07:37 AM
So you guys are saying basically drop HTML go to w3school.com and learn CSS?
Err Not quite, You cannot use one without the other.
You need to learn both in order to make a good site.
I see. ty
Crumpey
24-08-2008, 11:05 PM
Hmm..
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.