473,399 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 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 4190
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. I am guessing that I can use: #ifdef DEBUG...
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 and a dark blue text in a page's footnotes. And...
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 - item 1 - item 2 .. list 2
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 Java and currently use the code styling techniques...
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; background- color: white !important } a:link {...
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 around the image. I have tried: text-decoration:...
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 want to use text. I want to set the font-family...
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 recognized. Is this how styling a div within an...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.