Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   ClickBooth Network   V7N Directory

View Poll Results: Who Will Get The Solution First?
Ricoool 0 0%
Jazzee 3 50.00%
Pimpen 2010 0 0%
Fusion 1 16.67%
LazyJim 0 0%
littleFella 0 0%
Someone Else 2 33.33%
Voters: 6. You may not vote on this poll

Reply
 
LinkBack Thread Tools Display Modes
Old 09-29-2004, 04:09 PM   #21 (permalink)
Inactive
 
Fusion's Avatar
 
Join Date: 03-08-04
Posts: 2,644
iTrader: 0 / 0%
Latest Blog:
None

Fusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the rough
Send a message via MSN to Fusion Send a message via Yahoo to Fusion
Quote:
Originally Posted by dave conz
In my experience the css solution works in both IE and Mozilla. The unwanted padding doesn't actually seem to be a problem in Mozilla though.

HTML Code:
<form style="margin:0px;padding:0px;">
Try it with 10px padding and you'll see Mozilla and IE behave pretty much the same.

no its still there in IE. Unless you wanna show us.
Fusion is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-29-2004, 06:17 PM   #22 (permalink)
Moderator
 
LazyJim's Avatar
 
Join Date: 10-13-03
Location: UK
Posts: 2,819
iTrader: 0 / 0%
Latest Blog:
None

LazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to all
Send a message via MSN to LazyJim
have you still got new-lines and tabs etc in the table cells code?

I think it is IE that sometimes decides some blocks need more space when it has these in, even if there's nothing in there to render on screen.

(so try putting the <td>...</td> all on ONE SINGLE line, and only have spaces inside the < > tags...
Code:
<td><form name="cell1"><input type="submit" image="cell1.gif"></form></td>
check that margin is 0px for <img>s and <input>s

Show us the offending page!
__________________

-LJ-

My advice is to look at each case individually, with an informed mind and an appropriately balanced and objective viewpoint.

Web Design and Development, Ipswich, UK.
My deviantArt

Last edited by LazyJim : 09-29-2004 at 06:20 PM.
LazyJim is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-29-2004, 06:41 PM   #23 (permalink)
Inactive
 
Fusion's Avatar
 
Join Date: 03-08-04
Posts: 2,644
iTrader: 0 / 0%
Latest Blog:
None

Fusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the rough
Send a message via MSN to Fusion Send a message via Yahoo to Fusion
who me? Ill try ur solution and post int morning after weetabix has kicked in huuuuuuh
Fusion is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-30-2004, 12:35 PM   #24 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
I took Dave's idea and modified it and it works in both the latest version of firefox and and earlier version, as well as mozilla 1.83 and Konqueror. Try the other idea and report back later. I shall put this in all my css's in the future.

Code:
<form style="border:0px; margin:0px; padding:0px;"
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-30-2004, 01:00 PM   #25 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
imaginemn's solution works like a charm. Very nice work! Great piece of code.
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-30-2004, 01:06 PM   #26 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
Quote:
LazyJim " You could make all sorts of scripts like imaginemn's but depending on what you're actually doing you might not even need to put forms or javascript in there at all"
You are right, but if you want to send more than one piece of information to a script I think that you need a form. Serveral pieces of hidden information in the form. I could be wrong. Just my limited understanding of things
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-30-2004, 01:37 PM   #27 (permalink)
Jim
Inactive
 
Jim's Avatar
 
Join Date: 07-05-04
Location: İstanbul
Posts: 362
iTrader: 0 / 0%
Latest Blog:
None

Jim is on the right pathJim is on the right path
Sorry if I understood it completely wrong. I use <form> tag around the <tr> when I need to get rid of the form padding.
Like this: (I'm not sure if it works in Firefox though)
Code:
<table width="200" border="0" cellspacing="0" cellpadding="0"> <form name="form1"> <tr> <td align="center"><input type="image" border="0" name="imageField1" src="image.gif" width="116" height="36"></td> </tr> </form> <form name="form2"> <tr> <td align="center"><input type="image" border="0" name="imageField2" src="image.gif" width="116" height="36"></td> </tr> </form> <form name="form3"> <tr> <td align="center"><input type="image" border="0" name="imageField3" src="image.gif" width="116" height="36"></td> </tr> </form> <form name="form4"> <tr> <td align="center"><input type="image" border="0" name="imageField4" src="image.gif" width="116" height="36"></td> </tr> </form> <form name="form5"> <tr> <td align="center"><input type="image" border="0" name="imageField5" src="image.gif" width="116" height="36"></td> </tr> </form> </table>
Jim is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-30-2004, 04:12 PM   #28 (permalink)
Moderator
 
LazyJim's Avatar
 
Join Date: 10-13-03
Location: UK
Posts: 2,819
iTrader: 0 / 0%
Latest Blog:
None

LazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to all
Send a message via MSN to LazyJim
instead of a form you COULD use javascript to add many 'variable=value' pairs in the end of the link href...
?name=Jim&Lazyness=Max

so that ina link would be <a href="http://www.example.com/yourpage.php?name=Jim&Lazyness=Max">...</a>

When a user click that link it like they clicked submit on in a GET method <form>. In fact you can use the ?variable=value to spoof GET method forms.

Forms are the better option though, as they don't require javascript.
__________________

-LJ-

My advice is to look at each case individually, with an informed mind and an appropriately balanced and objective viewpoint.

Web Design and Development, Ipswich, UK.
My deviantArt
LazyJim is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-30-2004, 05:45 PM   #29 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Quote:
Originally Posted by Jim
Sorry if I understood it completely wrong. I use <form> tag around the <tr> when I need to get rid of the form padding.
Like this: (I'm not sure if it works in Firefox though)
Will the html validate like that?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 09-30-2004, 06:57 PM   #30 (permalink)
Inactive
 
Fusion's Avatar
 
Join Date: 03-08-04
Posts: 2,644
iTrader: 0 / 0%
Latest Blog:
None

Fusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the roughFusion is a jewel in the rough
Send a message via MSN to Fusion Send a message via Yahoo to Fusion
does it validate outside the table?
Fusion is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-01-2004, 02:59 AM   #31 (permalink)
Jim
Inactive
 
Jim's Avatar
 
Join Date: 07-05-04
Location: İstanbul
Posts: 362
iTrader: 0 / 0%
Latest Blog:
None

Jim is on the right pathJim is on the right path
Quote:
Originally Posted by Jazzee
Will the html validate like that?
Actions of the forms is missing in the example but yes, html will validate like that.
Jim is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-01-2004, 07:21 AM   #32 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
So that would be the easiest solution.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a script or solution.. Julie Coding Forum 7 10-31-2007 08:49 AM
(looking for) simple CMS solution Matthew Doucette Web Design Lobby 1 02-18-2006 06:29 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:50 PM.
© Copyright 2008 V7 Inc

Click Here