HTML Questions

Open discussion about any topic, as long as you abide by the rules of course!
Post Reply
bork[e]
Posts: 4357
Joined: Tue Mar 23, 2004 8:00 am

HTML Questions

Post by bork[e] »

I have been trying to figure this out for weeks, but can't find a damn thing that explains it. I just need to know how to create a seprate area like the pictures is below, one that will not be affected by surronding words, text etc... How is this done?

Image

Taking from this site. I just want a seperate area or whatever for some kinda menu ya dig?
Fender
Posts: 5876
Joined: Sun Jan 14, 2001 8:00 am

Post by Fender »

right click view source? :dork:
4days
Posts: 5465
Joined: Tue Apr 16, 2002 7:00 am

Post by 4days »

i don't get it? you just want to make sure there's empty space to the right of the text in the element? if that's what you want then add:

padding-right:25px;

to the style declaration for the element. obviously play around with the 25px bit, make it a percentage instead, that sort of thing.
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Post by Bacon »

Frames :icon32:

<frame src="">
[b]CAPSLOCK IS ON[/b]
4days
Posts: 5465
Joined: Tue Apr 16, 2002 7:00 am

Post by 4days »

Last edited by 4days on Wed Mar 30, 2005 12:05 am, edited 1 time in total.
bork[e]
Posts: 4357
Joined: Tue Mar 23, 2004 8:00 am

Post by bork[e] »

Fender wrote:right click view source? :dork:
I don't know what to look for dude, if that was the case I would have googled it.
bork[e]
Posts: 4357
Joined: Tue Mar 23, 2004 8:00 am

Post by bork[e] »

4days wrote:i don't get it? you just want to make sure there's empty space to the right of the text in the element? if that's what you want then add:

padding-right:25px;

to the style declaration for the element. obviously play around with the 25px bit, make it a percentage instead, that sort of thing.
Well, whenever I try and make a menu over to the left and then try to add an image or something over on the right. The image goes below the menu instead of over to the right...

So is the above what I should try?
4days
Posts: 5465
Joined: Tue Apr 16, 2002 7:00 am

Post by 4days »

forget css for now, my bad. have a look at:

http://www.echoecho.com/htmltables.htm

or:

http://www.w3schools.com/html/html_tables.asp

and see how you get on with that.
bork[e]
Posts: 4357
Joined: Tue Mar 23, 2004 8:00 am

Post by bork[e] »

4days wrote:forget css for now, my bad. have a look at:

http://www.echoecho.com/htmltables.htm

or:

http://www.w3schools.com/html/html_tables.asp

and see how you get on with that.

Yeah, I was getting a bit confused on your first post. I'll check out the links and see how many time I can crash my broswer tonight. :icon32: ty
bork[e]
Posts: 4357
Joined: Tue Mar 23, 2004 8:00 am

Post by bork[e] »

The code below is how my screenshot above was created. Is there anything special I need to do to create that, or can I use this as a guide?

Code: Select all

<table border="0" cellpadding="0" cellspacing="3">
<tr>
<td width="137" class="content" valign="top"><br />
<a class="left" href="/default.asp" target="_top">
<img src="/images/homeicon.gif" border="0" alt="home" /></a>
<a class="left" href="/default.asp" target="_top">
<b>HOME</b></a>
<br /><br />
<b>HTML Basic</b><br />
<a class="left" target="_top" href="default.asp" >HTML HOME</a><br />
<a class="left" target="_top" href="html_www.asp" >HTML & WWW</a><br />
<a class="left" target="_top" href="html_intro.asp" >HTML Introduction</a><br />
<a class="left" target="_top" href="html_elements.asp" style='font-weight:bold;color:#000000;background-color:transparent;'>HTML Elements</a><br />
<a class="left" target="_top" href="html_primary.asp" >HTML Basic Tags</a><br />
<a class="left" target="_top" href="html_formatting.asp" >HTML Formatting</a><br />
<a class="left" target="_top" href="html_entities.asp" >HTML Entities</a><br />
<a class="left" target="_top" href="html_links.asp" >HTML Links</a><br />
Fender
Posts: 5876
Joined: Sun Jan 14, 2001 8:00 am

Post by Fender »

grab the css as well
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

Bacon wrote:Frames :icon32:

<frame src="">
puhlease
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
Grudge
Posts: 8587
Joined: Mon Jan 28, 2002 8:00 am

Post by Grudge »

Dude, don't use frames or tables. Learn CSS properly and use floating divs.
corpse
Posts: 678
Joined: Sun Jan 12, 2003 8:00 am

Post by corpse »

I can see that CSS is good for many things, but when it's used to make a background image or something similar, I dont see the point.

It's easier to just make a background image using html.
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

cause its w3c valid ;)
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
Grudge
Posts: 8587
Joined: Mon Jan 28, 2002 8:00 am

Post by Grudge »

Better to learn it the right way from the start, than to learn it wrong and then re-learn when the wrong way doesn't work anymore.
Post Reply