Hi there. Got a quick question for you all.
I am using a CSS in a page. I have the text being indented 2cm at the top and the bottom of the page.
Using JS, I want to implement the side Slide Menu from DD. Normally, this works.
When putting that script on the page with CSS, the side bar title (Side Menu) is distorted.
Since i have a 2cm indentation in CSS, the first letter in the side menu title bar (the "S") gets indented to the 2cm mark along with the other items, but the rest of it ("ide Menu") stays at the left edge of the browser window.
Is there a way to stop this from happening? I tried tables, but i do not like the way it is done.
is there a way to implement the JS code into the CSS, then create a doc.write or something similar into the CSS? Or, at least stop the "S" in "Side Menu" to stop going over 2cm?
any help would be greatly appreciated.
thanks.
I am using a CSS in a page. I have the text being indented 2cm at the top and the bottom of the page.
Using JS, I want to implement the side Slide Menu from DD. Normally, this works.
When putting that script on the page with CSS, the side bar title (Side Menu) is distorted.
Since i have a 2cm indentation in CSS, the first letter in the side menu title bar (the "S") gets indented to the 2cm mark along with the other items, but the rest of it ("ide Menu") stays at the left edge of the browser window.
Is there a way to stop this from happening? I tried tables, but i do not like the way it is done.
is there a way to implement the JS code into the CSS, then create a doc.write or something similar into the CSS? Or, at least stop the "S" in "Side Menu" to stop going over 2cm?
any help would be greatly appreciated.
thanks.
Comment