joshsonunionsquare dot com/index1.php

I just added a 3rd button on the main section titled 'Photos' and as you can see it is being cut off. I've checked my code and it seems all 3 buttons have the same margins so I'm not sure what could be wrong.

Any help is appreciated

Recommended Answers

All 7 Replies

Change your selector as follows;

.slider-post .button {
background:transparent url(images/buttonbg.png) repeat-x scroll center top;
color:#FFFFFF;
cursor:pointer;
float:left;
font-family:Georgia,"Times New Roman",Times,serif;
font-size:14px;
font-weight:bold;
text-align:center;
width:82px;
}

That should do the trick

commented: Thanks for the help with my code. +6

That should do the trick

Well that was easy enough :).
Appreciate the help.

No problem, please mark the thread as solved

I was adding to your reputation and waiting for your reply before I did .
I've been here nearly 6 years, I know how to work these forums ;)

haha yeah, 6 years and only 73 posts. Thanks for the added rep

haha yeah, 6 years and only 73 posts. Thanks for the added rep

Yes I tend to disappear from here quite often. I was actually a moderator on these forums during the beginning stages, now Dani has this place packed with users I've noticed heh.

Anyways, thanks again.

i think you you should add this to your css

.slider-post .button {
background:transparent url(images/buttonbg.png) repeat-x scroll center top;
color:#FFFFFF;
cursor:pointer;
float:left;
font-family:Georgia,"Times New Roman",Times,serif;
font-size:14px;
font-weight:bold;
text-align:center;
width:82px;
height: that is your height background image that all;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.