Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8
Like Tree3Likes
  • 1 Post By Ronald Roe
  • 1 Post By Ronald Roe
  • 1 Post By Ronald Roe

Thread: How can I add text to the CSS stylesheet?

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    4
    Member #
    39295

    How can I add text to the CSS stylesheet?

    So I'm trying to design a website that will basically look like this one: Learn Russian Language - Beginning to Advanced Russian

    There will be a menu/table of contents on the left-hand side, some graphics at the top of the page, and some Google ads/graphics on the left side of the page, like you see in the above link.

    The content of every page will vary, but these things (the menu, top of the page, and right side) will be the same for every page. I don't want to manually add these to the coding of every page, because if something is added to the menu, for example, I'll have to manually change every page! So CSS would be great for this.... except that I can't figure out how to add text to CSS stylesheets. I realize CSS isn't meant for this, but I'm hoping there's a work-around.

    If CSS is totally hopeless for this purpose, I'm open to learning to program websites in other languages, but CSS is so easy to use that I'm really hoping someone knows a work-around. It looks like the masterrussian.com website uses javascript. If I'm not mistaken, javascript doesn't work right on some tablet devices with Internet....

  2.  

  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    johnyrox likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  4. #3
    Junior Member
    Join Date
    May 2014
    Posts
    4
    Member #
    39295
    Thanks a lot.

  5. #4
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Quote Originally Posted by hemanthmalli View Post
    Hi,
    In CSS there are some text keywords to design a website. By this keywords you can easily change the text in the website. I will give you the link in this you can get more information to make changes in your website design.
    That link will tell you how to change the STYLING of the text, but there is no way I know of to add text to a page with CSS (unless the text is in an image, but that is a whole other thing.)
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  6. #5
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Quote Originally Posted by AlphaMare View Post
    ...there is no way I know of to add text to a page with CSS (unless the text is in an image, but that is a whole other thing.)
    You can, and I've done it, but it really doesn't work in this situation.
    AlphaMare likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  7. #6
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Way too complicated for this situation -

    I do use this occasionally but frankly I find it a PITA to write - I have saved it as snippets and just change the bits I need to suit the situation I need it for.

    And in the WP sites I do, it's there already, so ...
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  8. #7
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    I really find it useful in combo with the HTML5 data attribute. You can have WP output, say a blog post's author info into the attribute data-author and use a pseudo element with content:attr(data-author); Then, you can put that author info where you want it without creating a new element just for it.
    AlphaMare likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  9. #8
    Banned
    Join Date
    Apr 2014
    Location
    India
    Posts
    22
    Member #
    39030
    Thanks for all members to reply this post and we have 12 year old web design agency if you want any help in web designing then sure we can help you .


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:53 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com