Can anyone please help with this...

User 113130 Photo


Ambassador
38 posts

Oh right - they were like that - I took them all out because I thought that was what it was.
I'll put them back.
You are so clever - thank you for your help
User 113130 Photo


Ambassador
38 posts

Hi again
Right I've done all of that - checked it all with the validator which is now not showing any errors. But still I have the black dashes under the images !!
User 1948478 Photo


Senior Advisor
1,850 posts

Not clever enough, obviously! :D

But now for my next magical trick...
Your current code on lines 62 through 71 is arranged with each line break before the closing </a> tag for each line, like this:

<a href="http://cakedecoratingcourses.co.uk" target="_blank"><img src="./thumbnails/cdcoos.png" alt="Cake Decorating Courses">
</a><a href="http://dwd.co.uk" target="_blank"><img src="./thumbnails/dwrw.png" alt="Dream Wedding Directory">
</a><a href="http://yorkwedding.co.uk/home" target="_blank"><img src="./thumbnails/yorklogo.jpg" alt="York Wedding">
...etc...

Try this: Put the line break after each closing </a> tag instead, to make the lines look like this:

<a href="http://cakedecoratingcourses.co.uk" target="_blank"><img src="./thumbnails/cdcoos.png" alt="Cake Decorating Courses"></a>
<a href="http://dwd.co.uk" target="_blank"><img src="./thumbnails/dwrw.png" alt="Dream Wedding Directory"></a>
<a href="http://yorkwedding.co.uk/home" target="_blank"><img src="./thumbnails/yorklogo.jpg" alt="York Wedding"></a>
...etc...

I know that this should not make any difference at all, so it does not make any sense, but humor me and try it, please! ;)
User 1948478 Photo


Senior Advisor
1,850 posts

I tested this a bit further and found that a 'hard' CR-type line break between opening and closing <a> tags does indeed result in a dash as a marker at the point of the CR in the browsers. I tried it in different editors and also copied/pasted the text via Notepad, but the markers remained wherever the enter key had been hit before the closing tag. This was all new to me...
User 283347 Photo


Registered User
388 posts

I had this problem once...it was a long time ago...but as I recall (which really means very little)...it seems I had 2 pictures or 2 place holders or something along those lines...one was empty...

so try deleting the picture and see if there is still a place holder or an image element that remains with nothing in it...and delete it, too....then replace your image.

just a thought...might be totally way off, but just maybe....?
User 1948478 Photo


Senior Advisor
1,850 posts

As I mentioned a couple of posts back, all you have to do is remove the hard carriage return from between the opening <a> and closing </a> tags, and the marker disappears. I.e. put the carriage return after the closing tag instead...The image is not the problem, it's the anchor markup, which in itself is invisible.
User 113130 Photo


Ambassador
38 posts

Well well well...... I have done as you said - and voila - as if by magic the lines have gone.
Thank you so so much.... they were driving me mad.
Right off to go test some other pages and see if I can clean up the rest of my site.
User 1948478 Photo


Senior Advisor
1,850 posts

I'm glad you got it working!

At this stage you would do yourself a big favor by structuring the way you deal with styles and style sheets. Since your styles are currently all in-line, you end up with a lot of repetition of style statements in each and every div and other html tags. This will only get worse as you work yourself through remaining pages.

You'd be better off collecting all your styling rules in an external stylesheet, which is essentially a text file with a .css extension. You can then link to this file in all your different html pages and refer to the same style classes any number of times in all your pages. There are a few classes ("c1", "c3", "c6" around lines 21 to 27) already referred to in this first page of yours, but they don't seem to be defined anywhere. Define them in your external style sheet.

I don't know how familiar you are with styles and style sheets, but you will find pretty much all you need to know here:
http://www.w3schools.com/css/default.asp
You can use this for its concise tutorials as well as a general reference document.

Let us know if you need any help!
User 113130 Photo


Ambassador
38 posts

Thank you Per - when I have a little time I will look at that - no I don't know anything about styles or stylesheets. As I mentioned I'm not very website savvy - what I have done I've done myself and just muddled through.
I'm really busy at the moment with wedding cakes, cake toppers and my workshops [I must be doing something right as people are finding me] :)
But I do like to 'mess around' with it from time to time.
User 1948478 Photo


Senior Advisor
1,850 posts

Gaynor Collingwood wrote:
...I must be doing something right as people are finding me.

Can't argue with that!
Enjoy! :)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.