Jump to content


HTML help


13 replies to this topic

#1 xunhandmex

    Young Padawan

  • Members
  • Pip
  • 44 posts

Posted 22 February 2005 - 10:20 AM

this is only a small problem but here it goes... on my website whenever you click the "home" it goes "home" but where the button is for that there is a blue boarder around it... how do i fix that?

thanks.

#2 Dumb Genius

    Young Padawan

  • Members
  • Pip
  • 48 posts

Posted 22 February 2005 - 11:01 AM

post a link or a screnshot with some code :rolleyes:

#3 xunhandmex

    Young Padawan

  • Members
  • Pip
  • 44 posts

Posted 22 February 2005 - 11:09 AM

<TD COLSPAN=2>
 	 <a href= "index.html"><IMG SRC="images/index_01.gif" WIDTH=102 HEIGHT=28 ALT=""></TD></a>
  <TD COLSPAN=3 ROWSPAN=6>
 	 <a href="index.html"><IMG SRC="images/index_02.gif" WIDTH=598 HEIGHT=174 ALT=""></TD></a>
	</TR>
	<TR>
  <TD COLSPAN=2>
 	 <a href="www.xunhandmex.hostmatrix.org/forums"><IMG SRC="images/index_03.gif" WIDTH=102 HEIGHT=29 ALT=""></TD></a>
	</TR>
	<TR>
  <TD COLSPAN=2>
 	 <a href="tutorials.html"><IMG SRC="images/index_04.gif" WIDTH=102 HEIGHT=30 ALT=""></TD></a>
	</TR>
	<TR>
  <TD COLSPAN=2>
 	 <a href="downloads.html"><IMG SRC="images/index_05.gif" WIDTH=102 HEIGHT=30 ALT=""></TD></a>
	</TR>
	<TR>
  <TD COLSPAN=2>
 	 <a href="staff.html"><IMG SRC="images/index_06.gif" WIDTH=102 HEIGHT=30 ALT=""></TD></a>
	</TR>
	<TR>
  <TD COLSPAN=2>
 	 <a href="contact.html"><IMG SRC="images/index_07.gif" WIDTH=102 HEIGHT=27 ALT=""></TD></a>
	</TR>
	<TR>
  <TD COLSPAN=5>
 	 <IMG SRC="images/index_08.gif" WIDTH=700 HEIGHT=45 ALT=""></TD>
	</TR>
	<TR>
there is the code and i noticed that in my browser i don't see it(Opera) but in the IE you can see it...any advice on what to change?

#4 Atomica

    P2L Jedi

  • Members
  • PipPipPip
  • 951 posts
  • Gender:Male
  • Interests:Music-Art

Posted 22 February 2005 - 02:02 PM

ok to get rid of it put this inside your img tag(s): border="0"
and that should solve your problem.

#5 xunhandmex

    Young Padawan

  • Members
  • Pip
  • 44 posts

Posted 22 February 2005 - 10:28 PM

alright i got it...now for my next problem... how do i make my entire site in the center of the browser? like right now its off to the left with this patch of grey on the right of the website... www.xunhandmex.hostmatrix.org check it out to see what i mean.

#6 [mez]

    Young Padawan

  • Members
  • Pip
  • 96 posts
  • Location:Brisbane, Australia

Posted 22 February 2005 - 11:15 PM

Here you go:

For all image tags put:
BORDER="0"

Between:
IMG SRC and WIDTH

So it will end up soemthing like this:

...<IMG SRC="IMAGE.gif" BORDER="0" WIDTH=SIZE...


#7 xunhandmex

    Young Padawan

  • Members
  • Pip
  • 44 posts

Posted 23 February 2005 - 12:00 AM

alright i got it...now for my next problem... how do i make my entire site in the center of the browser? like right now its off to the left with this patch of grey on the right of the website... www.xunhandmex.hostmatrix.org check it out to see what i mean.

sorry for double postin

#8 Atomica

    P2L Jedi

  • Members
  • PipPipPip
  • 951 posts
  • Gender:Male
  • Interests:Music-Art

Posted 23 February 2005 - 03:16 PM

aaa! double post. :ph34r: no biggy.
alright if you want to center your site, you can do this
<html>
<head></head>
<body>
<center>

code goes in here between the center tags

</center>
</body>
</html>


keep asking if you need help.

#9 Dumb Genius

    Young Padawan

  • Members
  • Pip
  • 48 posts

Posted 23 February 2005 - 03:23 PM

I would recommend CSS and those attibute to center align element blocks and text.
The following code applies to 'body' but you can also use that for .class or #id

body { 
	margin-left: auto; 
	margin-right: auto;

	text-align: center;
}

XHTML code is more efficient and quick when you master it :ph34r:

#10 xunhandmex

    Young Padawan

  • Members
  • Pip
  • 44 posts

Posted 23 February 2005 - 09:49 PM

well then i should learn CSS and XHTML

#11 Atomica

    P2L Jedi

  • Members
  • PipPipPip
  • 951 posts
  • Gender:Male
  • Interests:Music-Art

Posted 24 February 2005 - 12:07 PM

css is very very helpful if you know how to use it, so if you are planning on learning something then i would also suggest css.
Before you learn css you need to understand the concept and how it works. and once you figure that out you can take over the world! (illeteraly.)

#12 maansson

    Young Padawan

  • Members
  • Pip
  • 132 posts
  • Gender:Male
  • Location:Lund, Sweden
  • Interests:Hmm, not much for Photoshop. Havn't taking time to learn it yet. Use Fireworks to the graphical area. More into coding and stuff. PHP, CSS, Java and of course HTML.

Posted 24 February 2005 - 03:26 PM

Dumb Genius, on Feb 23 2005, 09:23 PM, said:

body {
margin-left: auto;
margin-right: auto;

text-align: center;
}
It's not optimal when you're using IE. Make a table and set align on the table to center.
<table align="center"><tr><td>
<table><tr><td>
SITE CONTENT
</td></tr></table>
</td></tr></table>


#13 adam123

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 2,306 posts
  • Location:London, UK
  • Interests:Programming and stuff.

Posted 17 April 2005 - 01:27 PM

Well that's not really any good either especially if you've just learnt CSS and want to make a tableless layout.

#14 madcow

    Young Padawan

  • Members
  • Pip
  • 37 posts

Posted 17 April 2005 - 07:25 PM

u should probably learn css i currenty need to learn as well but i know alot of the things you can do with it (but not how to do it) so in the meantime put the center tags into the website





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users