Guest
CSS and HTML coding help

Linear Mode


Carve A Cup From Bone And Fill It To The Brim.
Statistics
Characters
17

Joined
4/29/2023

Posts

Threads
#7
This post is hidden due to the following trigger warning:
You can click to toggle this post:
For anyone following lol

Okay, I've narrowed down the issue, I had the image somewhere it shouldn't have been, now I am trying to place a class in a tag without shifting the text in the button.

Here's the snippet I've focused on that seems to be where the problem is

<nav class="float">
<div>
<ul>
<li>
<a href="#"><div> home</div>
</a>
</li>
<li class="button2">
<a href="#">
<div>what we do</div>
</a>
</li>
<li class="button2">
<a href="#">
<div>projects</div>
</a>
</li>
<li class="button2">
<a href="#">
<div>careers</div>
</a>
</li>
<li class="button2">
<a href="">
<div>contact</div>
</a>
</li>
<li class="button2">
<a href="#">
<div> site map</div>
</a>
</li>
</ul>
</div>
</nav>



And the CSS



.button2
{
width: 100px;
background-color: #b2cce5;
padding-left: 30px;
line-height: 2em;
display: block;
margin: 14px;
padding: 0px;

}

nav div ul li a div
{
background: url("../layout4/images/unpressed-arrow.png");
background-repeat: no-repeat;
text-align: center;
color: #fff;
text-indent: 10px;
text-decoration: none;
}


.button2 a:hover
{
width: 100px;
display: block;
text-decoration: none;
color: #fff;
background: url("../layout4/images/pressed-arrow.png");
background-repeat: no-repeat;


}
Halloween 2025Howlentines 2025Birthday Year 2Christmas 2024Halloween 2024Hot Girl Summer 2024Birthday Year 1
Reply




Messages In This Thread
CSS and HTML coding help - by Middy - 4/9/2024, 2:19 PM
RE: CSS and HTML coding help - by latrodectus - 4/9/2024, 3:07 PM
RE: CSS and HTML coding help - by Middy - 4/9/2024, 4:46 PM
RE: CSS and HTML coding help - by Carey - 4/9/2024, 7:53 PM
RE: CSS and HTML coding help - by Middy - 4/9/2024, 10:43 PM
RE: CSS and HTML coding help - by Middy - 4/10/2024, 4:19 PM
RE: CSS and HTML coding help - by Middy - 4/12/2024, 1:08 PM
RE: CSS and HTML coding help - by latrodectus - 4/20/2024, 2:43 PM
RE: CSS and HTML coding help - by Middy - 4/22/2024, 9:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)