republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » Entering code appropriately?
Search Topic:
Uniqs:
67
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Was playing with Frontpage today, got this... »
« webhost reviews... anfyhost?  
AuthorAll Replies


stlrsfan
Premium
join:2001-11-07
Larchmont, NY
clubs:

Entering code appropriately?

I have a message board, vBulletin, which I would like to add a small simple form to have users sign up for a newsletter at the top.

I've added the code and all works fine, but it just doesn't look right. I've tried various ways to do this all resulting in the same distorted view.

I would like the form box to be dead center. Also, you'll notice what it does to the code on the right. The "welcome back" and "the current time" lines are supposed to be one just below the other, with my code added they are making a huge space between them. Here is the code I added:

*****

Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a><br>
<b>Enter email address to receive US Message Board Newsletter</b>
<form action="http://www.myboard.com/cgi-bin/mojo/mojo.cgi">
<input type="hidden" name="flavor" value="subscribe">
<input type="hidden" name="list" value="usmess">
<input type="text" name="email" value="email address" size="20">
<input type="submit" value="Submit">
</form>


</smallfont></td>
<td align="right"><smallfont><br>

The time now is $timenow.<br>
You last visited: $bbuserinfo[lastvisitdate].

*****

Anyone know what I can do to make this look better?

Thank you!

p.s. the portion in bold letters is what I've added to the code.


netmanic
Stud Bull

join:2003-04-19
/conyers/ga
add color? a few breaks?


stlrsfan
Premium
join:2001-11-07
Larchmont, NY
clubs:

Click for full size
Ooops, I forgot to attach a picture so that you can see what I was talking about. I'm happy with the current color scheme. I think adding a few breaks might just make the problem worse (making the right and left columns even longer)

I want to keep the left and right columns (board code) intact and short, while adding the form dead center. Thus picture will give you a better idea. Thanks!


techwench
I Work For Food
Premium
join:2003-06-26
Sherman, TX

Not quite sure what you want...you want to keep the left and right columns, and have the form box in the center? So you want it to be a middle column? Just add another <TD> in between the two columns.

If you don't want 3 columns, another option would be to add another <TR> with a <TD COLSPAN=2> below the left and right column row.

If that's not what you want either, I think the only other way would be a floating layer...of course, I could be wrong...
Forums » Tech and Talk » OS and Software » Webmasters and DevelopersWas playing with Frontpage today, got this... »
« webhost reviews... anfyhost?  


Wednesday, 11-Nov 00:09:10 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [125] Moto Sold About 100,000 Droids
· [95] Verizon Keeps Swinging At AT&T
· [86] VoIP Over 3G Still Not Working For iPhone
· [67] Government Will Release Some Telco Wiretap Lobbying Documents
· [62] Verizon's Hanging Up On Rural America
· [49] Verizon's Higher ETFs Annoy Senator
· [34] Bill Would Force ISPs To Block Financial Scams
· [32] Sprint Announces Job Cuts
· [24] Mediacom Hints At 50, 100 Mbps Speeds
· [24] Google Offers Free Holiday Airport Wi-Fi
Most people now reading
· Windows 7 boot manager editing questions [Microsoft Help]
· Google Has Acquired Gizmo5 [VOIP Tech Chat]
· RG Firmware update to VDSL2 this morning [AT&T U-verse]
· I had enough! Let's go out on the street!! STOP THROTTLING!! [Canadian Broadband]
· Please Help, I think my computer is being monitored [Security]
· Slow speed lately? [TekSavvy]
· [ Classes] ATTN Death Knights - Post your spec for critique! [World of Warcraft]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]