|
Posted by Tha RagMan on 12/21/05 03:51
On Tue, 20 Dec 2005 19:48:56 GMT, "Beauregard T. Shagnasty"
<a.nony.mous@example.invalid> wrote:
>Tha RagMan wrote:
>
>> On Tue, 20 Dec 2005 16:51:29 GMT, "Beauregard T. Shagnasty"
>> <a.nony.mous@example.invalid> wrote:
><snippage>
>>>You said you wanted to remove all the space above the table, so that
>>>would be zero. Anything other than zero requires units. 4px ... 4em ...
>>>and "padding: 4px;" will add it all 'round. If you only want it on the
>>>sides, use: "padding-left: 4px; padding-right: 4px;"
>>
>> Shag;
>> Thanks for the heads up. I saw the 0 and just took it I could play
>> with any digit. I experimented a bit and found that 4 did pretty much
>> what I had in mind. I went back and added the px but I can't see
>> where it made any difference.
>
>Depends on the browser. Real conforming browsers have the option to
>ignore any incorrect rules. Some others attempt to guess at what you
>really meant.
>
>> I actually was not overly concerned with the sides as much as I was
>> the space at the top which your fix has cured. I do have one question
>> if you have the time. I noticed when I alter both the margin and/or
>> the padding it also effects the space between the two tables I have.
>> Is there a way to keep these butted against each other and still be
>> able to control how much space is displayed at the top? It's not
>> really a big deal but would be nice if I had that control.
>
>This should work:
>
>body { margin: 0; padding: 0; }
>table { margin: 4px 0 0; }
>
>I just did that to your page, and it looks ok. 'Course I don't know why
>you want to do this, or if that is eggzactly what you want.
>
>How did I do it to your page? The Firefox Web Developer's Toolbar.
>http://chrispederick.com/work/webdeveloper/
>and while viewing your page, I typed Control+Shift+E
>and .. my gosh .. I can play with your CSS! [1]
>
>> Thanks again for your response and help.
>
>Am I gonna be a HERO again? :-D
You are absolutely my Hero and have earned elite status for getting me
working. I have purchased a book on CSS and am going to dive in to it
soon so maybe I can get up to speed with the rest of the web building
world. I'm a bit ashamed to make it public but I currently have about
35 commerical web sites up and running and am still working in a world
that's no less then 7-10 years ago. My sites are pretty basic and
handle the customers needs so I have gotten to be a bit complacent and
have failed to keep current with the design trends. I'm going to do
some more playing with the code info you gave me to see how it affects
the pages. Please know how much I sincerely appreciate your time and
talent in helping me out.
Thanks again.
Tha RagMan
[Back to original message]
|