navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Extra little Underlines after buttons

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> Extra little Underlines after buttons
Page: [1]
 
vickgould

 

Posts: 18
Joined: 4/25/2008
Status: offline

 
Extra little Underlines after buttons - 5/1/2008 8:31:54   
I get these extra little lines after my "Add to Bag" buttons. Sometimes they're there, sometimes not. They don't show up in design mode, but show up in the preview and published mode. How in the world do I get rid of them? (I mean, I know that I can highlight space after the button and delete, but how do I not get them in the first place?)

http://victoriasgould.com/Filigree.htm

Thanks for the help!
Tailslide

 

Posts: 5775
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: online

 
RE: Extra little Underlines after buttons - 5/1/2008 8:39:49   
You're not closing off your links properly so they're continuing onto the next line and the next (hence the underline)

You've got (shortened for clarity)
<p style="margin-top: 0; margin-bottom: 0"><a href="http://ww11.aitsafe.com/filigree.htm"><img border="0" src="add%20to%20bag%20button.gif" width="96" height="28"></p>
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"> </td>

You need the closing </a> after the image tag and before the closing </p> tag.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to vickgould)
vickgould

 

Posts: 18
Joined: 4/25/2008
Status: offline

 
RE: Extra little Underlines after buttons - 5/1/2008 8:49:40   
Oh, thanks! That did it! It's strange because I inserted the image using the insert from frontpage (I don't code in html), so I wonder why frontpage doesn't do that? Or maybe somehow I delete them when I'm doing my stuff..... anyhow --- thank you very much!

(in reply to Tailslide)
rdouglass

 

Posts: 9137
From: Biddeford, ME USA
Status: offline

 
RE: Extra little Underlines after buttons - 5/1/2008 9:22:52   
quote:

so I wonder why frontpage doesn't do that?


<$.02>
You'll find out as you hang around here that most of us don't rely on FP to create good markup. I (and many, many others here) recommend highly that you have a good grasp on HTML and always look at the code as well as the design.

Another thing that helps a lot is to use one of the validation tools available. One of my fav's recommended by others to me is here:

http://validator.w3.org/

Try running your page thru this validator and a lot of this stuff will show as errors. I believe that specific error would have shown. It's amazing how many of those cross browser, positioning, funny layouts, etc. problems are exposed by checking for valid markup.

</$.02>

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to vickgould)
vickgould

 

Posts: 18
Joined: 4/25/2008
Status: offline

 
RE: Extra little Underlines after buttons - 5/1/2008 9:30:18   
Ok, WOW, that's just stinkin' cool! I don't code in HTML, but I do use the split screen to do some stuff that I must type in, so I can get by, but limpingly.... this site is way cool..... but now there's 84 errors I have to fix! LOL! It doesn't look that broken!

(in reply to rdouglass)
rdouglass

 

Posts: 9137
From: Biddeford, ME USA
Status: offline

 
RE: Extra little Underlines after buttons - 5/1/2008 9:38:13   
quote:

but now there's 84 errors I have to fix!


Usually most are a result of 1 or 2 errors that cascade.

Start by declaring your doctype at the top of your page. Something like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Put that as the very first line of your HTML and see if that validates any better.

That help any?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to vickgould)
vickgould

 

Posts: 18
Joined: 4/25/2008
Status: offline

 
RE: Extra little Underlines after buttons - 5/1/2008 9:41:59   
quote:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Nope, that didn't help any. I'll just have to go through all 84 one by one and hope I don't make all the same errors on my next page.

Thanks!

(in reply to rdouglass)
rdouglass

 

Posts: 9137
From: Biddeford, ME USA
Status: offline

 
RE: Extra little Underlines after buttons - 5/1/2008 9:54:03   
One more thing, you need to be sure to have a working valid doctype for that validator to work. Take a look at this:

http://validator.w3.org/docs/help.html#faq-doctype

and get a doctype working before you try fixing any of those errors. They (the errors) will be erroneous themselves until you do. :)

Hope it helps.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to vickgould)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> Extra little Underlines after buttons
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts