Click to See Complete Forum and Search --> : k, well got more questions!
wardD
08-05-2004, 08:39 PM
so I got a couple more pics up their. I have used the align= thing, but I notice the pics do move left, right and centre. but they are all spaced one line type thing below each other, I would kinda like to see them side by side.
is this effect because i started each pic with <p><p align= bla bla. If I were to just type <img<src="whatever.jpg"width="300"hight="200" alt="whatever">
<img<src="whatever.jpg"width="300"hight="200" alt="whatever">
would the pics come out side by side.
and to add a link is this what it should look like:
<a href="http://www.sysopt.com">my favorite site</a>
got lots more questions, but I better focus on one thing at a time.
"O" one more thing, is the code for changing your background (the same for both css and plain ole html? I am noticing a diferance in brackets. { }for css and the good ole < > for html. or thats what im thinkin anyway.
thanks, ward.
PS- sorry for the double post, momentary loss of sanity!!
ScaryBinary
08-06-2004, 08:49 AM
so I got a couple more pics up their. I have used the align= thing, but I notice the pics do move left, right and centre. but they are all spaced one line type thing below each other, I would kinda like to see them side by side.
is this effect because i started each pic with <p><p align= bla bla. If I were to just type <img<src="whatever.jpg"width="300"hight="200" alt="whatever">
<img<src="whatever.jpg"width="300"hight="200" alt="whatever">
would the pics come out side by side.
For images you can use:
<img src="whatever.jpg"> You don't necessarily need the <p>..</p> tags around the image - in fact, the images aren't appearing side-by-side in your case because you're surrounding them each with that paragraph tag, which forces them to appear on their own lines. Just code your images like:
<img src="whatever.jpg">
<img src="whatever_2.jpg"> without any paragraph tags around them and see what you get; they should be side-by-side. If you want them centered, you could use just one paragraph tag, and as many images as you want inside:
<p align="center">
<img src="whatever.jpg">
<img src="whatever_2.jpg">
</p>
Your link sample looks fine. If you wanted it to display a tool-tip, and open in a new window, you could use:
<a href="http://www.sysopt.com" title="Go to SysOpt!" target="_blank">my favorite site</a>
"O" one more thing, is the code for changing your background (the same for both css and plain ole html? I am noticing a diferance in brackets. { }for css and the good ole < > for html. or thats what im thinkin anyway.
CSS and HTML are different - HTML really defines the structure of your web page, while CSS defines the formatting, coloring, positioning, etc. CSS uses the curly braces "{ }" and HTML uses the angle braces "< >". Note that the attributes/style names don't always match up. To set your background to blue using HTML only, you'd use:
<body bgcolor="blue">while CSS would do it like this:<body style="background-color: blue;">. Anyway, don't get confused by my example here - I embedded a style right in the HTML instead of defining it before hand. Just realize the difference in HTML and CSS, as you already pointed out.
Happy HTML-ing!
wardD
08-06-2004, 05:27 PM
as always, thank you. guess I will go try a little rearanging of the code.
the grand son is exstatic his pic is in "cyber space" he thinks its " sweet" I beleive was the term used.
anyway, thanks again. must go play.
ward.
SysOpt.com
Copyright Internet.com Inc. All Rights Reserved.