Image href'd

Hello,
I’ve used href for an image and there’s that annoying small dot that always appears somewhy

pic- https://i.gyazo.com/5faf7913f04cc46c1ae4db023ec00e85.png

You can clearly see at the bot-right side of each image that is href’ed.

Is there any way to remove that small dot?

Thanks!

Code -

<!DOCTYPE html>
<html>
   <head>
     <link rel="stylesheet" type="text/css" href="main.css">
	 <style>

	 </style>
   </head>
<body>
  <header>
    <a href="index.html">
     <img src="images/Game.png" alt="Play" style="padding:0px 0px 15px 622px; height="43" width="43"">
  </a>
    <a href="faq.html">
     <img src="images/Lightbulb.png" alt="FAQ" style="padding:0px 0px 17px 59px; height="40" width="40"">
  </a>
    <a href="index.html">
     <img src="images/logo.png" alt="My Logo" style="padding:0px 0px 0px 47px"">
  </a>
    <a href="settings.html">
     <img src="images/settings.png" alt="Settings" style="padding:0px 0px 20px 35px; height="35" width="35"">
  </a>
    <a href="contact.html">
     <img src="images/cont.png" alt="Contact" style="padding:0px 0px 18.5px 63.5px; height="38" width="38"">
  </a>
  </header>
  
    <p style> test </p>
  
  	 <div class="footer">
	 <p style="	font-family: Verdana, Geneva, sans-serif; font-size:90%;";> Copyright &copy; www.csgohowl.com </p>
	 </div>
   </body>
</html>

Yes, I can see it.

Any way?

How would others know if they don’t see any code and have only an image of the problem?

Hehe sorry, edited it!

1 Like

Thanks.

Does it help if you fix the errors?
* hint - style, width and height are separate attributes.
* bonus hint - get in the habit of validating your HTML https://validator.w3.org


     <img src="images/Game.png" alt="Play" style="padding:0px 0px 15px 622px; height="43" width="43"">
     <img src="images/Lightbulb.png" alt="FAQ" style="padding:0px 0px 17px 59px; height="40" width="40"">
     <img src="images/logo.png" alt="My Logo" style="padding:0px 0px 0px 47px"">
     <img src="images/settings.png" alt="Settings" style="padding:0px 0px 20px 35px; height="35" width="35"">
     <img src="images/cont.png" alt="Contact" style="padding:0px 0px 18.5px 63.5px; height="38" width="38"">
3 Likes

It would be helpful to us if you changed the local path to your CSS file to a full URL so we can see it, too… or just post the CSS in another code box. Looks like you could also attach the images so we could add those same images to our test version of your code.

Think of it as a “working page” that includes all of the parts that we need to reconstruct the issue on our computers without requiring a crystal ball :slight_smile:

3 Likes

You can also upload to your hosting, to a test folder.

www.yourdomain.com/test” upload your files here so they are not live and post the test link here so that we can see it live and in action instead of pieces of code.

What code editor are you using?

I’m guessing the dot is an underline, the default styling for <a> links. With the closing </a> tag being on a new line, that creates a space which is being underlined.
Try something like:- header a { text-decoration: none }

This:-

And get out of the habit of using the style attribute. Keep styling in the css.

2 Likes

Tried putting it in the .css file & tried at the < style > area but nope, didn’t help :I
And yes, I know, but it’s kinda hard I guess, I can’t make each button / image at the exact place I want it to be…
I have to use each different padding for the images / buttons anything.

That’s the test website I have right now -

http://linexcsgo.netne.net/index.html

Hello,
I would like to know how to make it adjust to any device, using position : fixed ; is fixing a bit but when I try to zoom in it just goes everywhere, is that ok or?

If it were OK you wouldn’t be here, would you.

While exceptions exist, the human equation is usually pretty simple:
A lack of sensible effort (including conversation) on your part usually equals diminished interest on our part,

I notice that you have not acted on Mittineague’s post #4. He gave you some changes that only required individually copying and pasting them, and he recommended that you run your test code through the HTML validator.

Mittineague’s recommendations will not directly address your new requirement for responsive behavior, but for all I know the gray dot is still a problem that has not been fixed. There has been no follow-up from you.

Your requirement to put the shapes in the top menu into a responsive layout is actually quite challenging. Adding responsiveness to the mix will require you to talk about how you expect the page to behave at different widths because that menu will not simply “shrink to fit” a small device. It will have to change to fit a smartphone, for example.

I think I can assume that the footer is not a fixed footer but a “sticky footer” instead, one that moves below the bottom of the browser window if the content requies it to do so. Is that assumption correct or not?

Your on-line test page is an active part of this conversation. Our recommendations are based on what we see that you have or have not done. Please keep the communication active.

First question, are you attempting to learn how the HTML and CSS code behaves so you can become a better coder or are you looking for someone else to do the work for you so all you have to do is copy and paste to build your page? If the latter, then hire someone to write it for you.

First assignment, follow Mittineagues recommendations in post #4.

While you are doing that, we will be overhauling your code.

3 Likes

Thanks for that reply,
Yes I already did use his fix code and no it didn’t really help by fixing that dot, I used the { text - decoration: none }
And it seems like its fixed.

And yes, of course I’m attempting to learn how the HTML and CSS code behaves me to become a better coder.
The purpose of my website is to learn and gain experience, I’m experiencing a few issues that I can’t fix that’s why I’m here.

1 Like

I do not see Mittineague’s repaired HTML on your test page, yet.

Your test page is very short and simple, yet if flags 32 HTML errors. That’s ridiculous. If you do not know what a property does or how to use it, LOOK IT UP.

What browser do you use? If Firefox, it highlights the errors for you when you “View Page Source…”

3 Likes

I notice that the menu is positioned toward the right end of the header bar. Do you plan to put something else in the header bar to the left of the menu?

Wait what? positioned at the end right of the header bar?
It looks like its in the center to me…

My mistake. I do not use a full widescreen browser window, so the menu looked like it was sitting toward the right end of the bar. Knowing that it is centered make the design easier to code.

Thanks.

@Minnow

Would you be good enough to post your sample layout again? I was using it to be sure my attempt looked as much like yours as I could.

I trust you will have repaired the bad code. If you cannot be bothered to repair your code, then please let me know because I have many other things I could be doing with my life, too.

To post both the index & css?

Post a URL to the index page will be fine.

http://linexcsgo.netne.net/ind.html

There are more errors and warnings than there are lines of code. That is quite a feat.
https://validator.w3.org/nu/?doc=http%3A%2F%2Flinexcsgo.netne.net%2Find.html
Most relate to the in-line styling which you should remove to css. No one (worthwhile) will want to help you code that way.

Things need to change. I mentioned in another thread about using margins and padding.
These should be used (with set unit values) only for small adjustments, to create gaps between elements or white-space around content.
Don’t use them for page scale layout positioning like this.

padding:0px 0px 15px 622px;

That will only ever work on one size screen.
To centre the menu, create a container with side margins set to auto- margin: 0 auto or if it’s all inline elements use 'text-align: center`.