-
css/html
I'm designing a website and I can't seem to get some of my text up on the first line.
The html:
Code:
<div id="new-s">
Topic:</div>New site
<div id="new-s">
Date:</div>February 6,2005
<div id="new-s">
Time:</div>9:28 PM CST
<div id="new-s">
Poster:</div>Shelby the webmaster
The css:
Code:
#new-s{color:#0000FF;font-weight:bold;}
It moves stuff like New site and February 6,2005 onto the line below Topic and Date. Could someone please help me out?
-
IDs are allowed for only 1 object. To use the same style use a class and in the css replace # with .
Also "New Site", February 6,2005", and the time are outside of any block element.
-
What would I put them in? If I put them in new-s they would be blue.
-
Well you don't have to put them into a div, it just makes it easier to change it later.
Try:
Code:
<style type='text/css'>
.new-s{color:#0000FF;font-weight:bold;display: inline;}
</style>
<div class="new-s">Topic: </div>New site<br/>
<div class="new-s">Date: </div>February 6,2005<br/>
<div class="new-s">Time: </div>9:28 PM CST<br/>
<div class="new-s">Poster: </div>Shelby the webmaster<br/>
-
AAAGGGG I need a sleek color scheme for my website. Right now it is just grey. I would post the image I thought about using for background, but I don't know how.
-
IMO unless the image is a very good texture, it'll suck as a background
-
How do i put stuff on navbars created in graphics programs like here or here ?
-
Look at the page's source code...
-
What graphics program can I make that kind of thing with I know somebody told me to use gimp but there isn't a tool for making curves.
-
You really are an idiot, huh?
Any kind of graphics program can be used to make curves, including GIMP. It's not just going to spit one out for you... you have to actually have some skill.