Wrox Programmer Forums
|
All Other Wrox Books Do you have a question about a Wrox book that isn't listed anywhere on p2p.wrox.com or where the forum is locked? Here's a forum to post questions about any other Wrox book so that other readers or one of the authors can help you with your questions. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the All Other Wrox Books section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 16th, 2004, 01:38 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
Default Easy Html CSS question

Hello
I can't figure out how to make that <p> gap into a <br>
I don't really understand how <p> interacts with[list]<li> tags.

I get a <p> gap between "The Application SIG will endeavor to provide the following to its members:" and the first list bullet.


Here is the Html code:

<div class="sigs"><p><b>:: Mission Statement ::</b><br>
    The Application SIG will endeavor to provide the following to its members:
  [list]

  <li>To develop and share “Best Methods and Practices” in developing applications</li>
<li>To assist group members in developing solutions to problems that arise
    in their development </li>
    <li>To provide a forum to exchange ideas and techniques</li>
    <li>Mentoring </li>
  </ul></p></div>

CSS:

.Sigs p
{
padding: .8em ;
margin: -5px 20px 5px 20px;
font-family: Verdana, Helvetica, sans-serif;
font-size: .7em;
color: darkblue !important;
border-bottom: none;
}
UL LI {
margin-top: -10px;
line-height: 17pt;
list-style-type: square !important;
font-family: verdana !important; color: darkblue !important;
font-size: .7em !important;
}

What am I doing wrong?

  #2 (permalink)  
Old August 16th, 2004, 11:01 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Some browsers apply default margin and some apply default padding to[list] elements (not <li> elements).

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
  #3 (permalink)  
Old August 23rd, 2009, 10:13 PM
Registered User
 
Join Date: Aug 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello!!

I could not clearly understand what is your problem..
kindly state your problem clearly..
tnx
  #4 (permalink)  
Old August 24th, 2009, 02:41 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi azaira022,

I doubt the OP is interested in a solution 5 years after date.... ;-)

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
hopefully an easy question davehodges Access 1 November 7th, 2007 06:36 AM
Easy Question hexOffender Beginning PHP 2 July 12th, 2006 05:03 AM
Easy Question yikomaka Visual C++ 0 June 13th, 2005 08:50 PM
easy question khautinh C# 4 August 6th, 2003 01:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.