PDA

View Full Version : Modified a Style and Messed it Up


ericka
04-19-2003, 12:24 PM
Learned lesson #1 today: Don't leave your control panel open on one of your modification windows while your 2 year old is running around.

Anyhow, I got it back mostly to the original version BUT I cannot seem to figure out why my "user cp" "search", etc buttons are over on the far left of my screen under my site logo instead of over at the far right. They are stacked two on top of each other which is correct just in the wrong place. Below is what I have in my header. Could someone look and see what I am missing?

Thanks. I guess I was trying to take on more than I am ready for.

<br><br><!-- logo and buttons -->
<center><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<table border="0" width="100%" cellpadding="0" cellspacing="0"><tr> <td width=25%><table border="0" width="100%" cellpadding="10" cellspacing="0" bgcolor="#ffffff"><tr><td align=left width=33%><a href="index.php"><img src="http://forums.momswhothink.com/images/logo3.jpg" border="0"></a></td>$topbanner<td align=right width=34% <td align="right" bgcolor="#ffffff" <table>
<tr><td>
<!-- toplinks -->
<table>
<tr>
<td>

<a href="http://forums.momswhothink.com/usercp.php?s=$session[sessionhash]"><img src="http://forums.momswhothink.com/images/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
<a href="http://forums.momswhothink.com/register.php?s=$session[sessionhash]&action=signup"><img src="http://forums.momswhothink.com/images/top_register.gif" alt="Registration is free!" border="0"></a>
<a href="http://forums.momswhothink.com/calendar.php?s=$session[sessionhash]"><img src="http://forums.momswhothink.com/images/top_calendar.gif" alt="Calendar" border="0"></a><br><a href="http://forums.momswhothink.com/memberlist.php?s=$session[sessionhash]"><img src="http://forums.momswhothink.com/images/top_members.gif" alt="Find other members" border="0"></a>
<a href="http://forums.momswhothink.com/misc.php?s=$session[sessionhash]&action=faq"><img src="http://forums.momswhothink.com/images/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
<a href="http://forums.momswhothink.com/index.php?s=$session[sessionhash]"><img src="http://forums.momswhothink.com/images/top_home.gif" alt="Home" border="0"></a>
<!-- <a href="member.php?s=$session[sessionhash]&action=logout"><img src="http://forums.momswhothink.com/images/top_logout.gif" alt="Logout" border="0"></a> --></td>
</tr>
</table> <!-- /toplinks -->
</td></tr></table>
</td></tr></table> </td></tr></table></form>
<!-- /logo and buttons -->

<!-- content table -->
<table bgcolor="#0E3652" width="100%" cellpadding="5" cellspacing="0" border="0">
<tr>
<td>

drives fast
04-20-2003, 12:32 AM
<br><br>
<!-- logo and buttons -->
<center><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width=100%>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="left"><a href="index.php"><img src="http://forums.momswhothink.com/images/logo3.jpg"

border="0"></a></td>
<td valign="middle" align="center">$topbanner</td>
</tr>
<tr>
<!-- toplinks -->
<td valign="top" align="left" colspan="2"><a href="usercp.php?s=$session[sessionhash]"><img src=""http://forums.momswhothink.com/images/top_profile.gif" border="0"></a>
<a href="register.php?s=$session[sessionhash]&action=signup"><img src=""http://forums.momswhothink.com/images/top_register.gif" border="0"></a>
<a href="calendar.php?s=$session[sessionhash]"><img src=""http://forums.momswhothink.com/images/top_calendar.gif" border="0"></a>
<a href="misc.php?s=$session[sessionhash]&action=faq"><img src=""http://forums.momswhothink.com/images/top_faq.gif" border="0"></a>
<!-- <a href="member.php?s=$session[sessionhash]&action=logout"><img src=""http://forums.momswhothink.com/images/top_logout.gif" alt="Logout" border="0"></a> -->&nbsp;
<!-- /toplinks -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<!-- /logo and buttons -->

<!-- content table -->
<table bgcolor="#FFFFFF" width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>

although I can't see what the paypal code is for since the rest of it isn't there

ericka
04-20-2003, 01:23 AM
No, that didn't work, it moved the top banner that is normally centered to the right hand side of the page and the buttons were still on the left just six going vertically in a row. Also it got rid of the white background and it was all purple. I want the white but right now it is obviously way too big. If anyone would like to go look so they can see what I am talking about the address is http://forums.momswhothink.com username:vbulletin password: vbulletin

Thanks

drives fast
04-20-2003, 02:37 AM
I verified the code I posted above and it worked as is

sorry it isn't working for you

ericka
04-20-2003, 05:49 AM
I fixed it. I found a copy of the script before the banner was added and went throught it line by line and all it was was a > missing after the second bgcolor=#ffffff

Who would have thought a little > could mean so much? Have no clue what it stands for but obviously it does something.

Dean C
04-20-2003, 10:57 AM
It's html. All code functionality code in html is surrounded like so:


<td bgcolor="#FFFFFF">content of this column</td>


So you need those < and > 's ;)

- miSt