Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2012
    Posts
    168
    Thanks
    5
    Thanked 11 Times in 11 Posts

    HTML/CSS Advertising?

    So I got to thinking yesterday about how awesome CSS is and I started wondering, why don't people make CSS/HTML ads on websites rather than blurry slow loading images. It would blend in better, you could have multiple buttons that change when you hover and overall it would just look a lot better. I figure there must be a reason as to why this doesn't exist (would it be hard to implement?) but I'm not sure why. Just a thought.. anyone?

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,500
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    The person who makes the CSS styles would need to put the CSS tags into the HTML.
    But that person doesn't know what CSS ID's and Classes that the site owner
    is using. Any duplicates will destroy the CSS property. Animated .gif's are
    just one graphic image ... easy.

  • #3
    Regular Coder
    Join Date
    Mar 2012
    Posts
    168
    Thanks
    5
    Thanked 11 Times in 11 Posts
    Quote Originally Posted by mlseim View Post
    The person who makes the CSS styles would need to put the CSS tags into the HTML.
    But that person doesn't know what CSS ID's and Classes that the site owner
    is using. Any duplicates will destroy the CSS property. Animated .gif's are
    just one graphic image ... easy.
    Well then there would have to be standard names. Like by putting ad in front of each id. And can you really not have a box and has a separate html/css file for that box? Isn't there a way to have multiple files occupying different parts of the page. Also, on tumblr there is a box in settings to add custom css and then that code is put into the theme by {CustomCSS}. Could you not do it like that? You wouldn't have to change the original page that you're adding the html/css to. You could just have an interface where the ad buyer puts in their html/code and it's then pulled into the page when it loads. I think...

    And I think it's pretty obvious how css could be favorable over images in some situations.
    Last edited by KULP; 04-18-2012 at 01:33 AM.


  •  

    Posting Permissions

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