472,331 Members | 1,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,331 software developers and data experts.

How do you turn off all styling within a div

Hi,

I am having a problem with a control which is caused by a style on the
page which I am not able to trace. If I use the control in a page
without any styling it looks ok. Is there a way to remove/turnoff all
CSS styling inside a div?

Jul 16 '07 #1
3 4109
In article
<11*********************@d55g2000hsg.googlegroups. com>,
Momomo <le******@yahoo.comwrote:
Hi,

I am having a problem with a control which is caused by a style on the
page which I am not able to trace. If I use the control in a page
without any styling it looks ok. Is there a way to remove/turnoff all
CSS styling inside a div?
Depends what you are talking about, for your own pleasure or
authoring for others?

I will assume authoring since this is more on topic for this
group. And I have always been a big stickler for protocol on this
matter.

For literally "turning off" all styling for a particular element
we need to discuss the idea of turning off all styling for the
whole of the html first.

When you supply no css at all, just html with no inline styles
either, the page will get some minimal styling from a style sheet
that is supplied automatically as default by the browser.
Different browsers will supply different css sheets. So by
supplying no styling you will not succeed to have your viewers
have no styling. They will get a no-frills one. Perhaps this is
what you likethe look of in small doses?

If you want to recommend a plain style to all or some of your
html, then go ahead and supply it with css. CSS is capable of
supplying a plain look as well as fancy. It is not essentially
for fancy. (Make up artists on film sets go to a lot of trouble
to make essentially glamorous women look plain on occasions).

If you want a particular div to have a certain look, a plain one,
then style it to have that look. Without any url, best not to
discuss this matter further.

--
dorayme
Jul 16 '07 #2
Scripsit Momomo:
I am having a problem with a control which is caused by a style on the
page which I am not able to trace.
Use proper tools then, such as Firefox Web Developer Extension or Firebug.

Alternatively, start from an unstyled version and add pieces of CSS code at
a time, until the problem emerges. Then you know pretty well which addition
triggered it.

To get more specific answers, ask a more specific question. Hint: URL.
Is there a way to remove/turnoff all
CSS styling inside a div?
No, and that would be a wrong approach anyway.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Jul 16 '07 #3
-Lost wrote:
To disable CSS in general, you need only remove the declarations or if
using Firefox, you could install an extension that disables styles on
all objects.
That would be overkill for the matter in hand, as FF has this function
incorporated: View --Page Style --No Style. On the other hand, the
Web Developer extension¹ has also an option to disable browser default
styles and much more.

Osmo

¹ http://chrispederick.com/work/web-developer/

Jul 18 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Clifton M. Bean | last post by:
In C++ within Visual Studio as well as within UNIX ... I need to turn off/on debug statements. I do not want to comment out these statements. ...
5
by: Peter Collinson | last post by:
Hi... Is there any way to style a List Item a different color and size than the <LI> in an Ordered List? I'd like a red super-script number...
6
by: ashkaan57 | last post by:
Hi, How can I set up the styling for different levels of <ULto use different images for bullets, be indenetd differently, ... Like: .. list 1...
27
by: Tom Cole | last post by:
I'm starting to do more quantity of javascript coding and thought this might be a good time to investigate code styling. I primarily develop in...
9
by: William Krick | last post by:
I'm currently using the following custom Stylish style sheet in Firefox 2.0.0.11... *{ color: black !important ; background: none !important;...
3
by: mcfly1204 | last post by:
I have an image link, an image within an anchor tag, that I would like to remove the styling of. When I say styling, I mean the default blue box...
2
AutumnsDecay
by: AutumnsDecay | last post by:
Alright, so I have a website that I'm using a php included menu. Normally I just use images with a rollover counterpart, however this time I just...
4
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
when I try to style a div using the id tag, from an external style sheet, it is not recognized. If I change the style sheet id to a class, it is...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.