Log in

View Full Version : Problem with bold buttons link and modal window



fodo
08-19-2008, 09:59 AM
I am tryiny to use the bold buttons css and while some links work others dont.
I have a modal window in one of these.
can anyone help please.
The code is


<p>
<br />
<div class="buttonwrapper">
<a class="boldbuttons" href="http://www.authorbank.com"><span>Got a Book in You?<span></a></p>
</div>
<br />
</p>

<div class="buttonwrapper">
<a class="boldbuttons" href="contact_mail.php" params="lightwindow_width=350,lightwindow_height=400" class="lightwindow" title="Contact Hawkesley Publishing Solutions"><strong><span>Contact form</span></a>
</div>
<br />
<div class="buttonwrapper">
<a class="boldbuttons"> href="authors2.html" class="lightwindow"><span>Authors</span></a>
</div>
<br />
<div class="buttonwrapper">
<a class="boldbuttons"> href="../sample_chapters/index.php"><span>Free Downloads</span></a>
</div>


This is link where the code is at the bottom of the left column.
http://217.46.159.226/e_cart22/

fodo
08-19-2008, 10:09 AM
There is an error I have found < a class="boldbuttons">
Now corrected.
The lightwindow will not open though.
Is this a problem with having 2 class calls in the a tag?

ddadmin
08-20-2008, 02:11 AM
If you're inserting more than 1 CSS class inside an element, you should do it by separating each class name with a space within the same attribute, for example:


<a href="contact_mail.php" params="lightwindow_width=350,lightwindow_height=400" class="lightwindow boldbuttons" title="Contact Hawkesley Publishing Solutions"><strong><span>Contact form</span></a>

Remove the duplicate class="boldbuttons" attribute.

fodo
08-20-2008, 09:20 AM
Many thanks. Thats solved it.