CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: <p> resize

  1. #1
    Join Date
    Apr 2004
    Posts
    265

    <p> resize

    Hi,

    I'm creating a website in VWD 2010 Express. When I try to resize the <p>, all of them get resized together. I've attached an image of it. I would like to resize only the last <p>. How can I do that please?

    Thanks
    Attached Images Attached Images

  2. #2
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: <p> resize

    what your describing here is not quite what the <p> tag is used for,<p> tag is used to separate Paragraphs on standard text..

    You should look into using CSS and <div> tags..

    Else you'll have to set classes and styles for the individual <p> tags
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

  3. #3
    Join Date
    Apr 2004
    Posts
    265

    Re: <p> resize

    But why then does all the <p> tag size change when I resize one tag? The image above is seen only when the layout is created. After I change the size, I cannot bring it back to the way it is displayed as above.

    Thanks

  4. #4
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: <p> resize

    Mostly because your changing the GLOBAL setting for <p> tags rather than for that one specific location..

    Thats why you should look into using CSS and <div> tags, or apply classes and styles...
    either way you might not be able to preview it in the IDE Layout..
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured