• HEXUS
  • HEXUS.tv
  • channel
  • gaming
  • lifestyle
  • trust
  • community
  • ESReality
  • HEXUS.community discussion forumsVisit Corsair.com

    Welcome to the HEXUS.community discussion forums forums.

    You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications > Software and web development

    Software and web development Databases, graphics, programming, scripting and web development.

    Reply
     
    LinkBack Thread Tools
    Old 21-07-2005, 06:37 AM   #1 (permalink)
    OMG!! PWND!!
     
    Join Date: Dec 2003
    Location: In front of computer
    Posts: 963
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Addressing individual images with CSS

    As the title says, how do i identify an individual image with Style sheets? Im kinda new to the whole css thing, but i need one of my pics to be width and height at 80% while the rest are normal...

    ohh, also, what is the alignment thing, like text-align, for images?

    Applecrusher is offline   Reply With Quote
    Old 21-07-2005, 08:47 AM   #2 (permalink)
    Senior Member
     
    Kezzer's Avatar
     
    Join Date: Sep 2003
    Posts: 4,864
    Thanks: 12
    Thanked 5 Times in 5 Posts
    www.w3schools.com

    Give the image an id. In the stylesheet do (i think) #img .myimage { whatever here }

    Then, in the img tag, do class="myimage". That way the stylesheet will know it's an image of that id.
    Kezzer is offline   Reply With Quote
    Old 21-07-2005, 09:27 AM   #3 (permalink)
    OMG!! PWND!!
     
    Join Date: Dec 2003
    Location: In front of computer
    Posts: 963
    Thanks: 0
    Thanked 0 Times in 0 Posts
    ahhh, ty

    Applecrusher is offline   Reply With Quote
    Old 22-07-2005, 08:17 AM   #4 (permalink)
    HEXUS.net Webmaster
     
    Iain's Avatar
     
    Join Date: Jul 2003
    Location: UK
    Posts: 3,113
    Thanks: 1
    Thanked 0 Times in 0 Posts
    you won't be able to align the image unless you wrap it in a div tag (I don't think).

    Iain is offline   Reply With Quote
    Old 22-07-2005, 11:20 AM   #5 (permalink)
    Crazy HEXUS.net
     
    Stoo's Avatar
     
    Join Date: Jul 2003
    Location: The Void.. Floating
    Posts: 10,336
    Thanks: 25
    Thanked 58 Times in 46 Posts
    Stoo's system
    correct

    Originally Posted by silent ben
    Nanotechnology is going to be huge.
    Stoo is offline   Reply With Quote
    Old 23-07-2005, 05:49 AM   #6 (permalink)
    OMG!! PWND!!
     
    Join Date: Dec 2003
    Location: In front of computer
    Posts: 963
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Yeah, i figured that bit out after about an hour of stuffing around...

    ty anyway

    Applecrusher is offline   Reply With Quote
    Old 23-07-2005, 11:04 PM   #7 (permalink)
    Senior Member
     
    Join Date: Feb 2004
    Location: Milton Keynes, UK
    Posts: 320
    Thanks: 6
    Thanked 2 Times in 1 Post
    GAteKeeper's system
    Stylesheets promise sooo much and on the surface deliver but they will cause premature baldness and loss of sleep.

    Just wait till you open it in a standards compliant browser!!!

    GAteKeeper

    Keeper of the Gates of Hell
    GAteKeeper is offline   Reply With Quote
    Old 23-07-2005, 11:32 PM   #8 (permalink)
    Ah, Mrs. Peel!
     
    mike_w's Avatar
     
    Join Date: Oct 2003
    Location: Hertfordshire, England
    Posts: 3,317
    Thanks: 2
    Thanked 4 Times in 4 Posts
    Originally Posted by GAteKeeper
    Stylesheets promise sooo much and on the surface deliver but they will cause premature baldness and loss of sleep.
    I would argue that it is not CSS that causes baldness or loss of sleep, but Internet Explorer's lack of compliance - but that's another topic!

    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."
    mike_w is offline   Reply With Quote
    Old 23-07-2005, 11:44 PM   #9 (permalink)
    Flak Monkey!
     
    Dorza's Avatar
     
    Join Date: Jul 2003
    Location: UK - South Wales
    Posts: 1,762
    Thanks: 36
    Thanked 17 Times in 15 Posts
    Dorza's system
    Originally Posted by mike_w
    I would argue that it is not CSS that causes baldness or loss of sleep, but Internet Explorer's lack of compliance - but that's another topic!
    Id agree. In my view all browsers every where should use the exact same basic model of how to interpret css, that being the way the W3C wishes it to be implemented. We wouldn't have these time wasting and down right frustrating problems then. Although i have to say i havent had that many issues. initially when i first started to use CSS i have loads of problems in IE but not too many now thank god.

    There we go, said my bit lets get back OT since i did go off it a bit.

    Dorza is offline   Reply With Quote
    Reply

    Breadcrumb
    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications > Software and web development


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

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

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Trackbacks are On
    Pingbacks are On
    Refbacks are On
    Forum Jump

    Similar Threads
    Thread Thread Starter Forum Replies Last Post
    Do the CS:S lot play 1.6 aswell? Russ HEXUS CS:Source Clan 60 21-06-2006 12:09 PM
    CSS presentation in FF and IE ikonia Software and web development 10 30-01-2005 05:41 PM
    divs and CSS Kezzer Software and web development 11 18-11-2003 11:51 AM
    CSS + Other Language Questions Jonny M Software and web development 7 11-10-2003 11:17 PM
    CSS Help Basher Software and web development 19 10-09-2003 08:13 PM



    All times are GMT +1. The time now is 07:14 AM.

    Any representations/statements made on the HEXUS.community discussion forums are the representations/statements of the author i.e. the person/organisation making them. If any such representations/statements are disputed they are a matter between the parties concerned. HEXUS Limited accepts no responsibility for any misrepresentations, inaccurate or false statements made by any person/organisation other than HEXUS Limited employees.
    Powered by vBulletin® Version 3.7.2
    Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
    Content Relevant URLs by vBSEO 3.2.0
    © Copyright 2008 HEXUS® Limited. All rights reserved. Unauthorised reproduction strictly prohibited.