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 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb Edit elements in a profil page.

    Hi.

    I have a question about how to edit specific elements in a profile page.


    Take this as an example;
    www.teenspot.com/profiles/Mumfie

    Scroll down and look at the box named "Specifics".
    Lets say I want to edit "Location" in that section from Norway to Sweden by using CSS. What is the procedure I should follow?
    The page allows you to edit CSS in an advanced page editor.

    Should I search up the source for that page and do some modification by pasting a new code?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Lets say I want to edit "Location" in that section from Norway to Sweden by using CSS. What is the procedure I should follow?
    You can't. CSS is just for styling a web page.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by abduraooft View Post
    You can't. CSS is just for styling a web page.
    But if I first remove the elements by not displaying them with CSS, and then I restyle the section by using the very same CSS code as it had before? Uhm, do you get what I mean?

  • #4
    Regular Coder
    Join Date
    Apr 2008
    Posts
    685
    Thanks
    15
    Thanked 105 Times in 104 Posts
    CSS is just there for controlling the presentation of a web-page, why do you not just edit the location manually?

    You can remove an element/not display it by using:
    #elementname{ display:none; } or #elementname{ visiblity:hidden; }

  • #5
    Regular Coder optimus203's Avatar
    Join Date
    Sep 2008
    Location
    CT
    Posts
    317
    Thanks
    22
    Thanked 16 Times in 15 Posts
    Follow Scriptet's advice, although this may be difficult since the source code doesn't utilize ID's for the table. Do you have access to the HTML on the page at all? These kind of social sites usually grab info from a database, so I'm assuming you don't have the info.

    Why wouldn't you just change your location via your settings?
    Always thank those CF Users who help you solve issues...
    Connecticut Web Design

  • #6
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes I have access to the HTML on the page.

    I was wondering if I can manually add the content in back again after different values after I've used this code
    Code:
    }
    table#autonumber22 {
      display:none;
    Last edited by Clouden; 06-04-2010 at 08:14 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
    •