css - My selector isn't working -
so i've got selector this:
.page-admin-settings-banner-image input[type=radio]
this body , classes:
<body class="not-front logged-in one-sidebar sidebar-left page-admin-settings-banner-image section-admin admin-menu">
this form , classes:
<form action="/admin/settings/banner-image" accept-charset="utf-8" method="post" id="banner-image-select">
and input button (i trying select of input buttons inside form, can't select id, sadly):
<input type="radio" id="edit-banner-image-season-files/banners/banner-summer.jpg" name="banner_image_season" value="files/banners/banner_summer.jpg" checked="checked" class="form-radio">
now, i've tried grab particular input in multiple ways - i've tried .form-radio, i've tried putting path, reason can't seem select it. nothing seems overriding css i'm writing - doesn't seem applied @ all.
why css:
.page-admin-settings-banner-image input[type=radio]{ float: left; margin-top:80px; }
not working?
or this:
#banner-image-select input[type=radio]{ float: left; margin-top:80px; }
it seems me input of type radio inside both of these elements, , should select it.
form html per request:
<form action="/admin/settings/banner-image" accept-charset="utf-8" method="post" id="banner-image-select"> <div><div class="form-item"> <label>choose season: </label> <div class="description">choose season display @ top of page</div> <div class="form-radios"><div class="form-item" id="edit-banner-image-season-files/banners/banner-fall.jpg-wrapper"> <label class="option" for="edit-banner-image-season-files/banners/banner-fall.jpg"><input type="radio" id="edit-banner-image-season-files/banners/banner-fall.jpg" name="banner_image_season" value="files/banners/banner_fall.jpg" class="form-radio"> <img src="http://domain/files/banners/banner_fall.jpg"></label> </div> <div class="form-item" id="edit-banner-image-season-files/banners/banner-spring.jpg-wrapper"> <label class="option" for="edit-banner-image-season-files/banners/banner-spring.jpg"><input type="radio" id="edit-banner-image-season-files/banners/banner-spring.jpg" name="banner_image_season" value="files/banners/banner_spring.jpg" class="form-radio"> <img src="http://domain/files/banners/banner_spring.jpg"></label> </div> <div class="form-item" id="edit-banner-image-season-files/banners/banner-summer.jpg-wrapper"> <label class="option" for="edit-banner-image-season-files/banners/banner-summer.jpg"><input type="radio" id="edit-banner-image-season-files/banners/banner-summer.jpg" name="banner_image_season" value="files/banners/banner_summer.jpg" checked="checked" class="form-radio"> <img src="http://domain/files/banners/banner_summer.jpg"></label> </div> <div class="form-item" id="edit-banner-image-season-files/banners/banner-winter.jpg-wrapper"> <label class="option" for="edit-banner-image-season-files/banners/banner-winter.jpg"><input type="radio" id="edit-banner-image-season-files/banners/banner-winter.jpg" name="banner_image_season" value="files/banners/banner_winter.jpg" class="form-radio"> <img src="http://domain/files/banners/banner_winter.jpg"></label> </div> </div> </div> <input type="submit" name="op" id="edit-submit" value="save" class="form-submit"> <input type="hidden" name="form_build_id" id="form-ed7f4579756fea75b4eae351bacd6cc3" value="form-ed7f4579756fea75b4eae351bacd6cc3"> <input type="hidden" name="form_token" id="edit-banner-image-select-form-token" value="c93ad83537dbd1252d5fc1ef5fcd91aa"> <input type="hidden" name="form_id" id="edit-banner-image-select" value="banner_image_select"> </div></form>
Comments
Post a Comment