Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8777677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:20:01+00:00 2026-06-13T19:20:01+00:00

I have a problem with my css. I tested it with both latest FF

  • 0

I have a problem with my css.
I tested it with both latest FF and IE without problem but Chrome does not render it properly.

I want to display all childs elements of a tag as blocks i use

Tag > * {
    display:block;
}

it works fine in both IE and FF but not chrome.
I tried forcing it using the console and put display:block but it failed.
It seems as if chrome ignores display:block ?

EDIT: Tag is a custom Tag actually CurrentWeather

full Css :

CurrentWeather > * {
    display:block;
}

body {
    text-align:center;
  }


div#result{
    text-align:left;
    margin: 0 auto;
    width:50%;
}

EDIT2:

I think it is an ajax problem as when i harcode the added html it works fine.
Does chrome not apply css on dynamic content ?

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:20:03+00:00Added an answer on June 13, 2026 at 7:20 pm

    The selector tag > * doesn’t target all children of a tag, only the immedate children.

    You would use tag * if you want to target all children.

    Chrome doesn’t have such a serious bug as ignoring display:block, so there has to be something that is specific to your case.

    It’s hard to tell exactly what it is without seeing the code, but some possible reasons:

    • The tag is an inline tag, and you are not using a HTML5 doctype.

    • The markup is broken, so the child elements are not the elements that you think they are. (Especially as different behaviour between browsers is typical for broken markup.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My site works perfectly in chrome but now that I have tested it with
Hi I have a problem(not exactly problem, I have solved it, but it is
I have a problem with my CSS on a website I'm working on .
I have a problem with the CSS of the datepicker, I downloaded a default
i have a problem with IE8 + jQuery.css('top') function. 1) I have a DIV
I have a problem with the positioning of a pure css dropdown menu. You
I have a strange problem working with HTML,CSS in different browsers: Firefox 3.6 and
I have a weird problem with my HTML and CSS code: <header> <h1>title</h1> </header>
I have a common problem that I never know how to solve with CSS:
I am using CSS rounded corners for firefox and I have the following problem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.